Is there a specific callback fired after a random seek completes

This forum is about all development around libVLC.
vishal733
New Cone
New Cone
Posts: 1
Joined: 20 Apr 2018 14:29

Is there a specific callback fired after a random seek completes

Postby vishal733 » 20 Apr 2018 14:47

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 20 Apr 2018 16:50

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 34 guests