[FFmpeg-devel] [PATCH] ffmpeg: Preserve input subtitle packet duration.

Philip Langdale philipl at overt.org
Tue Sep 4 05:24:13 CEST 2012

On Mon, 3 Sep 2012 19:51:17 +0200
Nicolas George <nicolas.george at normalesup.org> wrote:

> Le septidi 17 fructidor, an CCXX, Philip Langdale a écrit :
> > Thanks. This seems the most logical place.
> > Very true. :-)
> Actually, ff_ass_add_rect is already messing with end_display_time, so
> pre-setting it before the call to subctx->encode is currently useless.
> The two patches I sent yesterday are necessary anyway for when srtdec
> is dealing with AV_CODEC_ID_SRT (text timestamps).
> I think we can postpone factoring the initialization of
> end_display_time to when we are rid of the ASS stuff.

Ok. Then your two patches are fine, and we'll need to duplicate them
into the other three decoders.


More information about the ffmpeg-devel mailing list