[Gstreamer-bugs] [Bug 89836] Changed - gst_element_(s|g)et_name are redundant

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Sun Sep 15 10:22:32 PDT 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=89836

Changed by wim.taymans at chello.be.

--- shadow/89836	Tue Aug 13 10:36:47 2002
+++ shadow/89836.tmp.9311	Sun Sep 15 13:22:32 2002
@@ -40,6 +40,13 @@
 Sub-classes can overwrite the pointer if they need a special 
 implementation of the function.  
 So when you then call set_name on a GstObject that happens to be a 
 GstElement, GstElement's implementation will be invoked and not 
 GstObject's. Otherwise you could break the Bin's structure by calling 
 gst_object_set_name on a GstElement, even though the API allows that. 
+
+------- Additional Comments From wim.taymans at chello.be  2002-09-15 13:22 -------
+a vmethod is a bit of an overkill for something as simple as setting a
+name IMO. This bug is related to gst_element_(s|g)et_parent (which has
+different error reporting than its GstObject part, for no reason). We
+have to decide if we keep the methods or only use the gstobject
+counterparts (look at gtk+ for example). I vote for removal... 





More information about the Gstreamer-bugs mailing list