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

Julian Kniephoff Julian.Kniephoff at gmx.de
Mon May 12 20:06:09 CEST 2008


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.
I hope I'm not getting annoying...

Thanks and regards,
Julian.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer_theora_length.patch
Type: text/x-diff
Size: 1911 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080512/3d6abd1a/attachment.patch>


More information about the MPlayer-dev-eng mailing list