[gst-devel] Totem, Gst-Player, libgstplay showstoppers
iain
iain at prettypeople.org
Mon Jan 26 08:37:12 CET 2004
> Moreover i can't gst_object_unref (GST_OBJECT (play)); because it makes
> the whole application abort on some mutexes in GstThreads. Benjamin told
> me that it's broken. I really feel it's a completely critical and half
> finished thing if we can't unref a pipeline that contains GstThreads.
Okay, this is how I did it in marlin
gst_element_set_state (thread, GST_STATE_NULL);
before calling g_object_unref.
Sometimes I needed to do it
gst_element_set_state (thread, GST_STATE_NULL);
this then fires the shutdown signal
and the shutdown handler did the g_object_unref.
iain
More information about the gstreamer-devel
mailing list