[FFmpeg-devel] [PATCH] Create separate pts fields for video (int64_t) and audio (double) in lavfi

Michael Niedermayer michaelni
Sat Sep 25 01:42:23 CEST 2010

On Fri, Sep 24, 2010 at 03:22:38PM -0700, S.N. Hemanth Meenakshisundaram wrote:
> This creates separate pts fields for video and audio in the
> AVFilterBufferRef struct. Audio uses a double for storing pts in ffplay
> etc and the value can be a fraction. So it would be wrong to convert it
> to int64_t like in video. Alternatively, is it ok to store the video pts
> integer value as a double within lavfi?

i would prefer int64_t for both otherwise we risk issues with the regression
tests accross architectures
where is the problem with int64_t btw?
the demuxers all output integer timestamps ...

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100925/0722fedc/attachment.pgp>

More information about the ffmpeg-devel mailing list