[vlc-devel] [PATCH] TS demux: get time and length

Jean-Baptiste Kempf jb at videolan.org
Thu Sep 15 15:46:12 CEST 2011

On Wed, Sep 14, 2011 at 01:22:18PM +0900, Naohiro KORIYAMA wrote :
> By previous patch, If I move time slider, wrong position is selected.
> I changed DEMUX_GET_POSITION to be calculated by time, but I think it
> is better to be calculated by stream position.

Laurent will coment on this.

> > This is a patch for displaying time and length for MPEG-2 TS using PCR.
> > I know simiar patch was already sent to this mailing list on April 14.
If I remember correctly, the old patch was not correct.

> > By this patch, we can get an accurate time and length.

> -#if 0
> +#if 1
Drop the #if altogether.
Add #2985 in the commit log

No other remarks about the codestyle.

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

More information about the vlc-devel mailing list