[FFmpeg-devel] [PATCH] AVPacket.display_duration

Aurelien Jacobs aurel
Fri Sep 5 23:58:28 CEST 2008

Ronald S. Bultje wrote:

> Hi,
> On Fri, Sep 5, 2008 at 11:35 AM, Aurelien Jacobs <aurel at gnuage.org> wrote:
> > For some subtitles track, each AVPacket must carry the display duration
> > of the contained subtitle.
> > The attached patch adds a dedicated AVPacket.display_duration field.
> How's that different from duration?

Short explanation: duration = next_packet->pts - current_packet->pts
and there is no exception to this rule.
Long explanation: https://roundup.mplayerhq.hu/roundup/ffmpeg/issue588


More information about the ffmpeg-devel mailing list