[gst-devel] Re : Sending seek events to correct pipelines

Albert Costa costa_albert at yahoo.fr
Fri Nov 14 15:13:56 CET 2008


Hi Wim,
is there any way of sending the event to only the specific element (one of the filesrc elements in my case) I need?
If I try to sendthe seek with gst_element_send_event (pipeline1.source, seek_event) (where pipeline1.source would of course be my video source), then it seems the event is not sent (returns false). Sending to pipeline1 itself returns ok, but seems not to be taken into account anyway.
Regards,
Al

> However I want to send specific seek events for each pipeline (to
> access specific parts of the video files I play). If I use
> gst_element_send_event (mainpipeline, my_seek_event) then I got one of
> the file beeing seek, but it is not sure which line received the
> event. And if I use gst_element_send_event (pipeline1,
> my_seek_event_1) and gst_element_send_event (pipeline2,
> my_seek_event_2) then it seems that none of the events is catched nor
> processed.

Sending the event to a pipeline/bin will send the event to all sinks (or
bins with sinks in them) so both pipelines should receive the event.



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20081114/d0c7d219/attachment.htm>


More information about the gstreamer-devel mailing list