[vlc-devel] VLC_TimeGet and VLC_TimeSet precision

Guillaume Ceccarelli lastrainson at gmail.com
Tue Jun 6 18:06:31 CEST 2006


Hello everyone...

I was wondering if it could be possible to get a more accurate measurement
of the time inside an app using LibVLC ?

The 1-second precision given by the LibVLC API (with VLC_TimeGet &
VLC_TimeSet) is quite fuzzy... Is there a way to circumvent this problem by
for example getting / setting internal VLC Variables with
VLC_Variable{Get,Set} that would help getting / setting the current position
in a stream? I also tried to use VLC_PositionGet as a time referer, but for
a given position in seconds, the float returned by this function is
different for every diffent stream. What are the units used by
VLC_Position{Get,Set} if it is a reliable way to manipulate positions in
streams?

Thank you for your help !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060606/e135b412/attachment.html>


More information about the vlc-devel mailing list