Set the timescale in the samples.
This commit is contained in:
3 files changed
+25
-8
No files matched your search
@@ -363,6 +363,7 @@ typedef struct MP4DemuxHelper {
|
||||
MP42SampleBuffer *sample = [[MP42SampleBuffer alloc] init];
|
||||
sample->data = pBytes;
|
||||
sample->size = numBytes;
|
||||
sample->timescale = demuxHelper->timeScale;
|
||||
sample->duration = duration;
|
||||
sample->offset = renderingOffset;
|
||||
sample->decodeTimestamp = pStartTime;
|
||||
|
||||
Reference in new issue
Block a user