[FFmpeg-devel] [PATCH] fix convergence_duration default value

Michael Niedermayer michaelni
Thu Jun 17 02:11:25 CEST 2010

On Tue, Jun 15, 2010 at 11:19:54PM +0200, Aurelien Jacobs wrote:
> Hi,
> av_init_packet() currently initialize pkt->convergence_duration to 0.
> This seems wrong. According to the documentation of convergence_duration:
>     * Is AV_NOPTS_VALUE if unknown.
> Moreover, av_parser_init() is following the documentation and initialize
> convergence_duration to AV_NOPTS_VALUE.
> I propose to fix av_init_packet() so that it also initialize
> convergence_duration to AV_NOPTS_VALUE.

if its set to AV_NOPTS_VALUE by default then every demuxer has to
override it to 0. if its 0 by default only demuxers where its acrually
not 0 (or could b non 0) have to override

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100617/5c75f8d5/attachment.pgp>

More information about the ffmpeg-devel mailing list