<br><br><div class="gmail_quote">On Tue, Jun 30, 2009 at 3:19 AM, florian iragne <span dir="ltr">&lt;<a href="mailto:florian.iragne@viewsurf.com">florian.iragne@viewsurf.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div>thiagoss a écrit :<br>
<div class="im">&gt;&gt; Sending to the pipeline should work, you can use: gst_element_send_event<br>
&gt;&gt; (pipeline, gst_event_new_eos()),<br>
<br>
</div>with your command, it works :<br>
gst_element_send_event (&amp;*busIt-&gt;second, gst_event_new_eos());<br>
<br>
previously, i was doing : gst_bus_post( &amp;*busIt-&gt;first,<br>
gst_message_new_eos( ( GstObject* ) &amp;*busIt-&gt;second ) );<br>
<br>
busIt-&gt;first is a GstBus and -&gt;second is a pipeline (GstElement).<br>
<br>
Is there any obvious reason i don&#39;t see to explain that it didn&#39;t work<br>
with my way?</blockquote><div><br>Yes, if you look at the GstBus documentation we have &quot;The <a class="link" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBus.html" title="GstBus"><span class="type">GstBus</span></a> is an object responsible for delivering <span class="type">GstMessages</span> in
a first-in first-out way from the streaming threads to the application.&quot;.<br><br>GstBus is used for delivering messages from the pipeline/elements to your application, posting a message to the bus doesn&#39;t make the elements receive, An EOS message is posted at the bus by an element to inform the application that an EOS event has happened at the pipeline.<br>

<br>For sending/forcing EOS to the pipeline, you send an GstEvent to it. Take a look at the following links for further details.<br> </div><div><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBus.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBus.html</a><br>

<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstEvent.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstEvent.html</a><br> <br></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
<br>
Anyway, thanks for your help!<br>
<div class="im"><br>
cheers<br>
<br>
Florian<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br>
<br>
</div>iEYEARECAAYFAkpJrm8ACgkQO8DE9K7b370fuACgzWiZ52rLFzMNyIs2rBRF5toq<br>
xz4AoKtHp04P60E1Ka1BZ0P+jRzdukex<br>
=01wd<br>
<div><div></div><div class="h5">-----END PGP SIGNATURE-----<br>
<br>
------------------------------------------------------------------------------<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="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></blockquote></div><br><br clear="all"><br>-- <br>Thiago Sousa Santos<br><br>Embedded Systems and Pervasive Computing Lab (Embedded)<br>Center of Electrical Engineering and Informatics (CEEI)<br>Federal University of Campina Grande (UFCG)<br>