[gstreamer-bugs] [Bug 491501] Reduce usage of base_init in GstElement subclasses

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Jan 26 22:23:57 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 #20 from Sebastian Dröge  2008-01-27 06:23 UTC -------
Tim believes we can ignore this broken behaviour.

Unfortunately I found another instance of it:
GstDVDDemux inherits GstMPEGDemux and GstMPEGDemux adds a "sink" pad template
in class_init while GstDVDDemux adds a "sink" template in base_init.

Comment in GstMPEGDemux: /* we have our own sink pad template, but don't use it
in subclasses */

Of course this worked before as explained above but was always disallowed by
the docs. I don't see an easy way around this unfortunately in this element.

What about allowing subclasses to overwrite existing pad templates? Is there
any reason why we generally don't want this?


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