Guess a layout for PCM tracks if none is set.

This commit is contained in:
Damiano Galassi committed 2016-09-18 10:33:08 +02:00
1 parent 72c721db22
commit 69cb3ea22c
7 files changed
+69 -7

No files matched your search

+2 -2
View File
@@ -86,13 +86,13 @@
}
}
_bitrate = MP4GetTrackBitRate(fileHandle, _trackId);
_timescale = MP4GetTrackTimeScale(fileHandle, _trackId);
_duration = MP4ConvertFromTrackDuration(fileHandle, _trackId,
MP4GetTrackDuration(fileHandle, _trackId),
MP4_MSECS_TIME_SCALE);
_timescale = MP4GetTrackTimeScale(fileHandle, _trackId);
_startOffset = getTrackStartOffset(fileHandle, _trackId);
_bitrate = MP4GetTrackBitRate(fileHandle, _trackId);
_dataLength = getTrackSize(fileHandle, _trackId);
// Track flags