[vlc-devel] [PATCH] demux: ogg: use PCR for DEMUX_GET_POSITION

Jean-Baptiste Kempf jb at videolan.org
Fri Sep 20 18:21:19 CEST 2013


On 20 Sep, Denis Charmet wrote :
> Le jeudi 19 septembre 2013 à 11:58:51, Jean-Baptiste Kempf a écrit :
> > On 19 Sep, Francois Cartegnie wrote :
> > > GET_TIME is based on ogg packets PCR and GET_POSITION was
> > > based on stream byte offset. UI seekbar was never accurate.
> > 
> > Nice. If that works, it would be nice to backport that, seeing the
> > number of reports about ogg seeking we have.
> > 
> Beware it's GET_POSITION not SET_POSITION, but similar mechanism could
> be applied to SET_POSITION to use the SET_TIME work.

Yes, a few people complained that when seeking the time-slider is/was
wrong, in the .ogg case.

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list