Hi, <br><br><div><span class="gmail_quote">On 1/11/07, <b class="gmail_sendername">Wim Taymans</b> &lt;<a href="mailto:wim@fluendo.com">wim@fluendo.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, 2007-01-11 at 20:26 +0530, Vinayak wrote:<br>&gt; Hi,<br>&gt; I have written my-sink plugin, this plugin never exits normally. No<br>&gt; matter what pipeline elements I have used.<br>&gt; It just keeps on running somewhere, I dont know where the control goes
<br>&gt; after EOS event. I have handled the events.<br>A sinks posts an EOS message after it received the EOS event and played<br>its buffered data (but only in PLAYING), this triggers EOS in the<br>application.</blockquote>
<div><br><br></div><div>I could see the same behaviour in my filter plugin as well. <br>
They dont exit on their own. Or may be the application to create a pipe Im using is gst-launch. <br>
Probably the gst-launch is not able to handle the proper control on that. <br>
<br>
In my filter plugins I do a _initialization of my plugin in
&quot;NULL_TO_READY&quot; state change and I do a finalize it in &quot;READY_TO_NULL&quot;
state change. I have forwarded the EOS event to next sink plugin.
(gst_pad_push_event)<br>
<br>
Where do the control go now ? It has passed through my event routines
and state change routines. But even after that I could see that the
process keeps on running there in background always.<br>
<br>
Thanks<br>./v<br></div></div><br>