Killing Zombies - Unref-ing pipelines waiting for async change

Stefan Kost ensonic at
Wed Aug 17 00:55:45 PDT 2011

Hi Wes,
On 08/12/11 19:47, Wes Miller wrote:
> I missed an error in my code for the pipeline thread.  I wrote:
> gst_object_unref( GST_OBJECT ( m_loop ));
> m_loop = 0;
> You can't unref a GMainLoop!  Produced a G_Object warning and error that
> took me forever to find.  Instead, of course, use g_main_loop_unref().
> I note that some gstreamer examples I've seen, including a couple in the
> docs, omit this step.  I wanted to make sure that my pipeline thread(s)
> freed any refs and memory for the loop.
Going systematically over the examples (by means of grep or the like)
and providing patches to clean things up is a great way to contribute.


> Wes
> --
> View this message in context:
> Sent from the GStreamer-devel mailing list archive at
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at

More information about the gstreamer-devel mailing list