mirror of https://github.com/FFmpeg/FFmpeg.git
When fix_sub_duration is used, and the duration fixing code is generating 0 duration, that is definitely zero, and not undefined or infinite (which may be the case for decoded AVSubtitles depending on the codec), so it is safe to drop it. It fixes teletext subtitle sources, when the subtitles are transmitted twice after each other for some reason. Signed-off-by: Marton Balint <cus@passwd.hu> Reviewed-by: Nicolas George <george@nsup.org>pull/49/head
parent
4d6f2ff524
commit
31bb172be2
1 changed files with 8 additions and 4 deletions
Loading…
Reference in new issue