Killing Zombies - Unref-ing pipelines waiting for async change
Wes Miller
wmiller at sdr.com
Fri Aug 12 10:47:45 PDT 2011
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.
Wes
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Killing-Zombies-Unref-ing-pipelines-waiting-for-async-change-tp3732732p3740019.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list