[Gstreamer-bugs] [Bug 97948] Changed - libgstplay : GstPlay can not be unrefed with g_object_unref
bugzilla-daemon at widget.gnome.org
bugzilla-daemon at widget.gnome.org
Sat Dec 7 11:23:13 PST 2002
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=97948
Changed by leif at ambient.2y.net.
--- shadow/97948 Sat Dec 7 10:21:27 2002
+++ shadow/97948.tmp.786 Sat Dec 7 14:23:13 2002
@@ -37,6 +37,18 @@
GLib-GObject-CRITICAL **: file gsignal.c: line 2036 (g_signal_emit_valist):
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
Please help :) I need to be able to destroy GstPlay objects or 1GB RAM
won't be enough to run my app
+
+------- Additional Comments From leif at ambient.2y.net 2002-12-07 14:23 -------
+(Sorry if this is way out in left field, but I don't have a good way
+to test at the moment.) I have two questions/suggestions :
+
+1. Don't calls like this commonly use an explicit cast to the proper
+object type ? Have you tried g_object_unref (G_OBJECT (play)); ?
+
+2. Is play a GObject or GstObject ? I would suggest using
+gst_object_unref (GST_OBJECT (play)); if this object is in the
+GStreamer object hierarchy. Also, use a cast here as well.
+
More information about the Gstreamer-bugs
mailing list