Hello,

With Gstreamer backend, the following message is shown.

% gnash testsuite/samples/sound1.swf 

(<unknown>:32388): GStreamer-CRITICAL **: 
Trying to dispose object "bin8", but it still has a parent "pipeline0".
You need to let the parent manage the object instead of unreffing the
object directly.

I attach the patch to fix it.

Thank you,
Hiroyuki Ikezoe
Index: backend/sound_handler_gst.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_gst.cpp,v
retrieving revision 1.27
diff -u -p -r1.27 sound_handler_gst.cpp
--- backend/sound_handler_gst.cpp	2 Nov 2006 08:13:22 -0000	1.27
+++ backend/sound_handler_gst.cpp	3 Nov 2006 01:36:21 -0000
@@ -576,7 +576,7 @@ public:
 			g_signal_handler_disconnect (elements->input, elements->handoff_signal_id);
 
 			// Unref/delete the elements
-			gst_object_unref (GST_OBJECT (elements->bin));
+			gst_bin_remove(GST_BIN (pipeline), elements->bin);
 
 
 			// Delete the gst_element struct
@@ -681,7 +681,7 @@ public:
 
 	// gnash calls this to unmute audio
 	virtual void unmute() {
-			muted = false;
+		muted = false;
 	}
 
 	virtual bool is_muted() {
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to