<div>        If you are using a simple command line pipeline then there is no need to take care of it , because gst-launch application will take care of it .</div>
<div> </div>
<div>       If you are writing your own plugin and using it in gst-launch command then in _change_state function of your plugin release all the resources when state goes form paused-&gt;ready , and take care of error propagation in your library and plugin . </div>

<div>      </div>
<div><br> </div>
<div class="gmail_quote">On Thu, Mar 4, 2010 at 4:18 PM, Sitanshu Nanavati <span dir="ltr">&lt;<a href="mailto:sitanshu@gmail.com">sitanshu@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello All,<br> <br>Can someone please let me know what is the right way (or the set of APIs) to call for a greaceful shutwon of a gst-launch pipeline?  For instance, if there is an error in my own lib if a variable does not have correct value, I want to stop the execution.<br>
 <br>Thanks in advance.<br><font color="#888888"> <br>-S </font><br>------------------------------------------------------------------------------<br>Download Intel&amp;#174; Parallel Studio Eval<br>Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>See why Intel Parallel Studio got high marks during beta.<br><a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a><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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>