[Ffmpeg-devel] Re: [PATCH] MXF duration improvements

Baptiste Coudurier baptiste.coudurier
Wed Jul 26 21:48:41 CEST 2006


Reimar D?ffinger wrote:
> Hello,
> the attached patch sets the default duration (when no such info is found
> in the file) to AV_NOPTS_VALUE instead of 0.
> It also sets start_time to 0 by default. I'm not 100% sure if that is
> correct, but otherwise AVFormatContext.duration does not get set
> and MPlayer can not display the total time.
> Gretings,
> Reimar D?ffinger

Indeed that sounds correct, according to the code in
update_stream_timings. Thanks for notifying.

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312

More information about the ffmpeg-devel mailing list