Page 1 of 1

Is there a specific callback fired after a random seek completes

Posted: 20 Apr 2018 14:47
by vishal733
When I do a random seek to a position, I'm looking for callback once the seek is done.

Right now,
(1) I do a random seek using `libvlc_media_player_set_time ` (say previously at 1sec, and setting it to 5 sec)
(2) Perform a `libvlc_media_player_get_time` immediately after that, at times I get the same old value of time (1 sec).
I need an event which tells me that doing a `libvlc_media_player_get_time` will return the new position (5 sec), and not 1 sec.

I've been looking at this page for the list of events: http://git.videolan.org/?p=vlc.git;a=bl ... 40;hb=HEAD,
but I don't think there's anything specific to what I need.

Kindly guide me.

Re: Is there a specific callback fired after a random seek completes

Posted: 20 Apr 2018 16:50
by RĂ©mi Denis-Courmont
And what does "seek is done" mean? This is a pipeline. The effects of the seek will occur at different times at different point in the pipeline.