GUI questions

Christophe Massiot massiot at
Sun Feb 25 14:35:45 CET 2001

À (At) 6:19 +0100 25/02/01, Samuel Hocevar écrivait (wrote) :

>    Note that the p_input->stream structure has been recently updated so
>that it will be easy to display a duration instead of a percentage, but
>I haven't had a look at it yet.

Look at input_ext-intf.c, there is an input_OffsetToTime() function 
that does exactly that. Basically you need
p_input->stream.i_tell * 50 / p_input->stream.i_muxrate

Christophe Massiot.

More information about the vlc-devel mailing list