[FFmpeg-devel] [PATCH 3/3] ffmpeg: ensure that -fix_sub_duration doesnt create subtitles with zero duration
george at nsup.org
Mon Nov 25 14:48:46 CET 2013
Le tridi 3 frimaire, an CCXXII, Marton Balint a écrit :
> Yes, it is on purpose. As w4m pointed out in response to my earlier patch:
> 0 duration can also mean unknown (infinite) duration depending on
> the codecs used, so it would be wrong to drop them all.
> However, when fix_sub_duration is used, and the duration fixing code
> is generating 0 duration, that is definitely zero, and not undefined
> or infinite, so it is safe to drop it.
Thanks for explaining. I suppose this patch is ok, then.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: Digital signature
More information about the ffmpeg-devel