Write the sgpd/sbgp only when importing tracks, do not write a guessed delay on save on every mp4.

Fixed another crash in avfoundation edit lists code.
This commit is contained in:
Damiano Galassi committed 2017-09-03 11:41:28 +02:00
1 parent adb8735bf4
commit 9f7089b831
8 files changed
+83 -66

No files matched your search

+5
View File
@@ -273,6 +273,11 @@
return nil;
}
- (BOOL)audioTrackUsesExplicitEncoderDelay:(MP42Track *)track;
{
return MP4HaveTrackAtom(_fileHandle, track.sourceId, "mdia.minf.stbl.sgpd");
}
- (void)demux
{
@autoreleasepool {