[MPlayer-dev-eng] [PATCH] compute correct length for theora videos

Diego Biurrun diego at biurrun.de
Tue May 13 12:02:44 CEST 2008


On Mon, May 12, 2008 at 08:06:09PM +0200, Julian Kniephoff wrote:
> Am Montag, 12. Mai 2008 15:56:01 schrieb Julian Kniephoff:
> >
> > I have to take a look at the code again because I don't understand it
> > completely, yet. However concerning the seek bar, I think the problem
> > directly lies under the lines I changed: There the "wrong" final_granulepos
> > value is also used without correction to calculate the current "position".
> >
> Lucky hunch ;). Changing the DEMUXER_CTRL_GET_PERCENT_POS case of 
> demux_ogg_control analogous to the original patch fixes the seek bar on my 
> system. Still the patch does not reuse code so I'll have yet another look 
> into it.

Yes, this version of your patch fixes the seek bar as well.

> I hope I'm not getting annoying...

Nonsense, you are not.

Diego



More information about the MPlayer-dev-eng mailing list