Difference between setting time and position

This forum is about all development around libVLC.
hanky
Blank Cone
Blank Cone
Posts: 21
Joined: 30 May 2012 07:49

Difference between setting time and position

Postby hanky » 11 Apr 2013 09:46

libvlc_media_player has these two functions for playback control: libvlc_media_player_set_position and libvlc_media_player_set_time.
What is the difference between them? Do they internally work the same way? Is one of them more accurate than another?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Difference between setting time and position

Postby Jean-Baptiste Kempf » 11 Apr 2013 15:03

POsition should work better. And position is in percentage, if you prefer.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 15 guests