[FFmpeg-cvslog] r10024 - in trunk: libavformat/gxfenc.c tests/libav.regression.ref
Baptiste Coudurier
baptiste.coudurier
Thu Aug 9 19:48:33 CEST 2007
Hi
Reimar D?ffinger wrote:
> Hello,
> On Thu, Aug 09, 2007 at 07:18:59PM +0200, bcoudurier wrote:
>> Author: bcoudurier
>> Date: Thu Aug 9 19:18:59 2007
>> New Revision: 10024
>>
>> Log:
>> take care to use video track field number as duration
>
> Might be a good idea to also say in the commit message why...
> nb_frames is used in so many places and in not all of it this is the
> obviously right value IMO.
>
According to old code it could use audio track frame number, in the case
of pcm one frame might contain many samples (think mov/gxf), and that
would cause wrong duration. Video frame number is reliable and correct
in gxf case (according to specs).
--
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-cvslog
mailing list