Clean up headers and MP42SampleBuffer.
This commit is contained in:
1 parent
e2adc70d63
commit
7b1c7d0384
22 files changed
+122
-109
No files matched your search
@@ -1063,8 +1063,8 @@ MP42SampleBuffer * copySubtitleSample(MP4TrackId subtitleTrackId, NSString *stri
|
||||
sample->size = sampleSize;
|
||||
sample->duration = duration;
|
||||
sample->offset = 0;
|
||||
sample->timestamp = duration;
|
||||
sample->isSync = true;
|
||||
sample->decodeTimestamp = duration;
|
||||
sample->flags |= MP42SampleBufferFlagIsSync;
|
||||
sample->trackId = subtitleTrackId;
|
||||
|
||||
return sample;
|
||||
@@ -1083,8 +1083,8 @@ MP42SampleBuffer* copyEmptySubtitleSample(MP4TrackId subtitleTrackId, MP4Duratio
|
||||
sample->size = 2;
|
||||
sample->duration = duration;
|
||||
sample->offset = 0;
|
||||
sample->timestamp = duration;
|
||||
sample->isSync = true;
|
||||
sample->decodeTimestamp = duration;
|
||||
sample->flags |= MP42SampleBufferFlagIsSync;
|
||||
sample->trackId = subtitleTrackId;
|
||||
|
||||
return sample;
|
||||
|
||||
Reference in new issue
Block a user