[MPlayer-dev-eng] Re: [PATCH] dvr-ms fixes for pts, key frame detection and seeking

Uoti Urpala uoti.urpala at pp1.inet.fi
Fri Feb 16 19:20:19 CET 2007


On Fri, 2007-02-16 at 12:11 -0600, John Donaghy wrote:
> > video.c works on the basis that you cant get the fps from the asf
> > container.
> >
> > What do you mean by this?
> 
> 
> 
> What I mean is that in this piece of code will usually set sh_video->fps
> regardless of what it was previously set to by the demuxer.

Yes sh_video->fps is set based on the distance between frames. However
that does not mean it works "on the bases you can't get fps from the
container" - if the container gives constant-distance timestamps that
will produce the same fps. The value of sh_video->fps doesn't matter all
that much anyway. Video timing is done based on the timestamps.




More information about the MPlayer-dev-eng mailing list