Make MP4GetTrackMediaDataName aware of multiple sample descriptions. Only the first one is ready at the moment.
This commit is contained in:
6 files changed
+7
-7
No files matched your search
@@ -62,7 +62,7 @@ typedef struct MP4DemuxHelper {
|
||||
MP4TrackId srcTrackId = track.sourceId;
|
||||
|
||||
const char *trackType = MP4GetTrackType(_fileHandle, srcTrackId);
|
||||
const char *media_data_name = MP4GetTrackMediaDataName(_fileHandle, srcTrackId);
|
||||
const char *media_data_name = MP4GetTrackMediaDataName(_fileHandle, srcTrackId, 0);
|
||||
|
||||
if (!trackType) {
|
||||
return nil;
|
||||
|
||||
Reference in new issue
Block a user