• Martin Storsjö's avatar
    movenc: Allow to request not to use edit lists · 1d8a0c1b
    Martin Storsjö authored
    In this case, shift tracks to start from zero instead (potentially
    stretching the first sample in tracks that start later than the
    first one).
    
    Some software does not support edit lists at all, the adobe flash
    player seems to be one of these. This results in AV sync errors when
    edit lists are used to adjust AV sync.
    
    Some players, such as QuickTime, don't respect the duration for
    audio packets, so if an audio track starts later than the video
    track and the first audio sample gets a duration longer than the
    actual amount of data in it, the result will be out of sync.
    
    Based on patches by Michael Niedermayer.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    1d8a0c1b
movenc.h 5.47 KB