From: <bug...@wi...> - 2002-12-07 19:21:39
|
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 le...@am.... --- 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 le...@am... 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. + |