[gstreamer-bugs] [Bug 491501] gst_element_class_set_details should be used in class_init instead of base_init

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jan 2 12:37:27 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=491501

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #4 from Sebastian Dröge  2008-01-02 20:37 UTC -------
Ok, my proposal for 0.10 is to move gst_element_class_set_details() calls to
class_init() and for 0.11 to a) move the add_pad_template() calls to
class_init() and b) let gst_element_base_class_init() copy the template list
and increase the refcount for all pad templates.

This would remove the need of base_init() in the most common cases in 0.11 and
wouldn't cause any problems IMHO.


We can't do the pad template stuff for 0.10 as otherwise all elements will have
all pad templates twice...

What do you think?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=491501.




More information about the Gstreamer-bugs mailing list