+2008-01-19 Sebastian Dröge <slomo@circular-chaos.org>
+
+ * ext/mad/gstid3tag.c: (gst_id3_tag_class_init):
+ Don't add pad templates for the base class but only in the
+ subclasses.
+
2008-01-17 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* ext/lame/gstlame.c:
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&id3_tag_src_any_template_factory));
- } else {
+ } else if (tag_class->type & GST_ID3_TAG_PARSE_MUX) {
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&id3_tag_src_id3_template_factory));
}
if (tag_class->type == GST_ID3_TAG_PARSE_MUX) {
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&id3_tag_sink_any_template_factory));
- } else {
+ } else if (tag_class->type & GST_ID3_TAG_PARSE_DEMUX) {
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&id3_tag_sink_id3_template_factory));
}