<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Thanks Wim,</DIV>
<DIV>yes your assumption was right. I could see indeed that both src elements got the seek events, so I guess I have to manage the 2 sets separately as you said. In that case, is it still possible to have both sides synchronized together? (starting, stopping, pausing and so on)<BR>Regards,</DIV>
<DIV>Al</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">De :</SPAN></B> Wim Taymans &lt;wim.taymans@gmail.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">À :</SPAN></B> Discussion of the development of GStreamer &lt;gstreamer-devel@lists.sourceforge.net&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">Envoyé le :</SPAN></B> Jeudi, 13 Novembre 2008, 18h55mn 32s<BR><B><SPAN style="FONT-WEIGHT: bold">Objet&nbsp;:</SPAN></B> Re: [gst-devel] Sending seek events to correct pipelines<BR></FONT><BR>On Thu, 2008-11-13 at 17:36 +0000, Albert Costa wrote:<BR>&gt; Hi All,<BR>&gt; I have an application where I embed 2 pipelines in my main pipeline.<BR>&gt; Each having its own filesrc, decodebin and sink elements:<BR>&gt;&nbsp; <BR>&gt; gst_bin_add_many(GST_BIN(pipeline1), filesrc1, decodebin1,<BR>&gt; videosink1,..., NULL); <BR>&gt; gst_bin_add_many(GST_BIN(pipeline2), filesrc2, decodebin2,<BR>&gt; videosink2..., NULL); <BR>&gt; gst_bin_add_many(GST_BIN(mainpipeline), pipeline1, pipeline2,
 NULL);<BR><BR>I assume mainpipeline is a GstPipeline while pipeline1 and pipeline2 are<BR>plain bins? <BR><BR>&gt;&nbsp; <BR>&gt; However I want to send specific seek events for each pipeline (to<BR>&gt; access specific parts of the video files I play). If I use<BR>&gt; gst_element_send_event (mainpipeline, my_seek_event) then I got one of<BR>&gt; the file beeing seek, but it is not sure which line received the<BR>&gt; event. And if I use gst_element_send_event (pipeline1,<BR>&gt; my_seek_event_1) and gst_element_send_event (pipeline2,<BR>&gt; my_seek_event_2) then it seems that none of the events is catched nor<BR>&gt; processed.<BR><BR>Sending the event to a pipeline/bin will send the event to all sinks (or<BR>bins with sinks in them) so both pipelines should receive the event.<BR><BR>The best way to do this is to simply put the two separate pipelines into<BR>two separate GstPipeline objects and work from there. <BR><BR>Wim<BR><BR>&gt; Is there
 something I do wrong or do not understand correctly?<BR>&gt; Regards,<BR>&gt; Al<BR>&gt; <BR>&gt; -------------------------------------------------------------------------<BR>&gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<BR>&gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<BR>&gt; Grand prize is a trip for two to an Open Source event anywhere in the world<BR>&gt; <A href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target=_blank>http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</A><BR>&gt; _______________________________________________ gstreamer-devel mailing list <A href="mailto:gstreamer-devel@lists.sourceforge.net" ymailto="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</A> <A href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel"
 target=_blank>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A><BR><BR><BR>-------------------------------------------------------------------------<BR>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<BR>Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<BR>Grand prize is a trip for two to an Open Source event anywhere in the world<BR><A href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target=_blank>http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</A><BR>_______________________________________________<BR>gstreamer-devel mailing list<BR><A href="mailto:gstreamer-devel@lists.sourceforge.net" ymailto="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</A><BR><A href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel"
 target=_blank>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A><BR></DIV></DIV></div><br>



      </body></html>