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

Philip Langdale philipl at overt.org
Sun Sep 2 23:55:54 CEST 2012


On Sun, 2 Sep 2012 21:52:24 +0200
Nicolas George <nicolas.george at normalesup.org> wrote:

> 
> Still, for end_display_time, the code can indeed be factored, it just
> has to be done in avcodec_decode_subtitle. I will try to update my
> patches in a near future.

Thanks. This seems the most logical place.
 
> > Maybe we should do the work in ff_ass_add_rect? We could pass in the
> > original values and the timebase, and let it set end_display_time
> > accurately.
> 
> At some point, we want to get rid of ff_ass_add_rect: making it do
> more work seems like a bad idea.

Very true. :-)

--phil


More information about the ffmpeg-devel mailing list