[gst-devel] graceful exit/shutdown of a pipeline

sudarshan bisht bisht.sudarshan at gmail.com
Thu Mar 4 12:02:12 CET 2010


        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 .

       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->ready , and take care of error propagation in your
library and plugin .



On Thu, Mar 4, 2010 at 4:18 PM, Sitanshu Nanavati <sitanshu at gmail.com>wrote:

> Hello All,
>
> 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.
>
> Thanks in advance.
>
> -S
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>


-- 
Regards,

Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100304/45303bd9/attachment.htm>


More information about the gstreamer-devel mailing list