[Ffmpeg-cvslog] r7880 - trunk/libavformat/gxf.c

Michael Niedermayer michaelni
Thu Feb 8 14:17:02 CET 2007


Hi

On Thu, Feb 08, 2007 at 09:42:03AM +0100, Reimar D?ffinger wrote:
> Hello,
> On Thu, Feb 08, 2007 at 04:29:52AM +0100, Michael Niedermayer wrote:
> > On Thu, Feb 08, 2007 at 12:22:53AM +0100, reimar wrote:
> > > Author: reimar
> > > Date: Thu Feb  8 00:22:53 2007
> > > New Revision: 7880
> > > 
> > > Modified:
> > >    trunk/libavformat/gxf.c
> > > 
> > > Log:
> > > set pts_wrap_bits to 32 since timestamps in packets are 32 bit
> > 
> > the function you want to use is av_set_pts_info()
> 
> There is no guarantee I can extract any useful timebase out of the file,
> so I didn't want to set the timebase when I can't, but I still want to
> set wrap_bits, so av_set_pts_info is not useful.
> Of course I admit that doing it this way could actually be a stupid
> idea, but I am undecided so far so I left it as it was.

well, if you dont explicitly set a timebase then you will have 1/90000
as timebase, you could as well just set any other random timebase if theres
none available

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20070208/74d0ba54/attachment.pgp>



More information about the ffmpeg-cvslog mailing list