libvlc_media_player_set_time() vs. libvlc_media_player_get_time()
Posted: 23 Apr 2018 17:28
Situation:
The video is paused.
I'm setting time to 1000 milliseconds with libvlc_media_player_set_time().
In some time I'm getting the current time with libvlc_media_player_get_time() and it returns 998 milliseconds instead of 1000.
Next, I'm setting time to 998 milliseconds (it should be current time) and in some time, when I call to libvlc_media_player_get_time() again, I have 1011 milliseconds instead of 998.
So I always have a gap between libvlc_media_player_set_time() and libvlc_media_player_get_time().
Is there a way to have "synchronized" values?
Thank you!
The video is paused.
I'm setting time to 1000 milliseconds with libvlc_media_player_set_time().
In some time I'm getting the current time with libvlc_media_player_get_time() and it returns 998 milliseconds instead of 1000.
Next, I'm setting time to 998 milliseconds (it should be current time) and in some time, when I call to libvlc_media_player_get_time() again, I have 1011 milliseconds instead of 998.
So I always have a gap between libvlc_media_player_set_time() and libvlc_media_player_get_time().
Is there a way to have "synchronized" values?
Thank you!