• Michael Niedermayer's avatar
    ffmpeg: Compensate non monotonicity errors in the audio TSs. · bd3ea317
    Michael Niedermayer authored
    Audio timestamps are passed through by default and when the input
    doesnt contain clean timestamps this can lead to non monotonicity
    errors. (rounding to a course timebase can cause this too)
    
    Print a warning when the errors in the timestamps are large
    
    Fixes Ticket1167 (regression since timestamps are passed through)
    
    This is a generic workaround that is intended to handle
    slightly incorrect input files. It is very possible that some
    demuxers contain bugs that lead to wrong timestamps, these demuxers
    should of course still be fixed even if this change happens to
    hide the issue.
    Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
    bd3ea317
ffmpeg.c 197 KB