ext/mad/gstid3tag.c: Don't add pad templates for the base class but only in the subclasses.

Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_class_init):
Don't add pad templates for the base class but only in the
subclasses.
This commit is contained in:
Sebastian Dröge 2008-01-19 16:04:14 +00:00
parent eb9865f6f8
commit bebe270713
3 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
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> 2008-01-17 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* ext/lame/gstlame.c: * ext/lame/gstlame.c:

2
common

@ -1 +1 @@
Subproject commit 0efbab89d333b5d07cc7da1a501c38edf5bb4f72 Subproject commit b6bd1a35b641237d016496039e474dee4230de76

View file

@ -285,7 +285,7 @@ gst_id3_tag_class_init (gpointer g_class, gpointer class_data)
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
gst_element_class_add_pad_template (gstelement_class, gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&id3_tag_src_any_template_factory)); 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_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&id3_tag_src_id3_template_factory)); gst_static_pad_template_get (&id3_tag_src_id3_template_factory));
} }
@ -303,7 +303,7 @@ gst_id3_tag_class_init (gpointer g_class, gpointer class_data)
if (tag_class->type == GST_ID3_TAG_PARSE_MUX) { if (tag_class->type == GST_ID3_TAG_PARSE_MUX) {
gst_element_class_add_pad_template (gstelement_class, gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&id3_tag_sink_any_template_factory)); 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_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&id3_tag_sink_id3_template_factory)); gst_static_pad_template_get (&id3_tag_sink_id3_template_factory));
} }