How to send seek event once pipeline is running

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to send seek event once pipeline is running

stic
Hi,

I would like to send a seek event to the pipeline immediately after is it running or ready to run.
I didn't find the best way or moment to send it, it is either too late (pipeline has already started running before I can send the event) or too early (pipeline is not in a state where I can send the seek event).

So could someone tell me how to catch the moment where I can send the seek event the earlier to the pipeline ?

Thanks,
Stic
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to send seek event once pipeline is running

Duncan Palmer-2
Hi Stic,

From memory, once the pipeline has reached the PAUSED state, you should be able to send a seek event. You can change state to PLAYING after sending the event.

Regards,
Duncan

On 13 August 2016 at 19:23, <[hidden email]> wrote:
Hi,

I would like to send a seek event to the pipeline immediately after is it running or ready to run.
I didn't find the best way or moment to send it, it is either too late (pipeline has already started running before I can send the event) or too early (pipeline is not in a state where I can send the seek event).

So could someone tell me how to catch the moment where I can send the seek event the earlier to the pipeline ?

Thanks,
Stic
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel