[Gstreamer-bugs] [Bug 109808] Changed - gst_scheduler_factory_create() doesn't reference the passed element

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Wed Apr 2 12:05:17 PST 2003


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=109808

Changed by mhl.schulze at t-online.de.

--- shadow/109808	Wed Apr  2 14:46:43 2003
+++ shadow/109808.tmp.30950	Wed Apr  2 15:05:17 2003
@@ -28,6 +28,12 @@
 
   gst_scheduler_add_element(sched, parent)
 
 ?
 
 I can commit the fix myself. Just let me know.
+
+------- Additional Comments From MHL.Schulze at t-online.de  2003-04-02 15:05 -------
+On the other hand, "parent" probably can't be referenced. (Otherwise
+we would get a circular reference.) So "parent" must be set to NULL
+when the "parent" element is destroyed. This would have to be done
+from gst_element_dispose() or from gst_scheduler_remove_element().





More information about the Gstreamer-bugs mailing list