How to wait for the pipeline destruction

Elio Francesconi elio.francesconi at gmail.com
Fri Jan 3 08:35:28 PST 2014


Hi all,
this is my code to close a pipeline:
        if(pPipeline!=NULL)
        {
            gst_element_set_state(pPipeline, GST_STATE_NULL);
            gst_object_unref(pPipeline);
            pPipeline = NULL;
        }

I noticed the pipeline is closed correctly but I need to wait for the pipeline destruction. Which is the best way to do that?
Thanks
Elio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140103/caf4d2b5/attachment.html>


More information about the gstreamer-devel mailing list