[gstreamer-bugs] [Bug 491501] Reduce usage of base_init in GstElement subclasses
bugzilla-daemon at bugzilla.gnome.org
Mon Jan 14 03:09:26 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:
GStreamer | gstreamer (core) | Ver: HEAD CVS
------- Comment #17 from Sebastian Dröge 2008-01-14 11:09 UTC -------
Unfortunately this does not work with ugly/ext/mad/id3tag because this element
does very bad things:
It adds a pad template with name "sink" and "src" in class_init of the base
class and then sets another one with the same name in class_init of the
subclass. This currently works but breaks with my patch of course because
before in class_init of the subclass there was no pad template with the name
(all removed in GstElement's base_init) and now there are (copied at the same
Can we ignore this and simply fix the broken usage in that element (docs
explicitely say that _add_pad_template() must be called in base_init) or does
someone see another solution?
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