mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
eb9865f6f8
commit
bebe270713
3 changed files with 9 additions and 3 deletions
|
@ -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
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 0efbab89d333b5d07cc7da1a501c38edf5bb4f72
|
Subproject commit b6bd1a35b641237d016496039e474dee4230de76
|
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue