ugly: use new gst_element_class_add_static_pad_template()

https://bugzilla.gnome.org/show_bug.cgi?id=763082
This commit is contained in:
Vineeth TM 2016-03-04 16:14:44 +09:00 committed by Sebastian Dröge
parent ef773697a8
commit ab281e6038

View file

@ -327,10 +327,10 @@ gst_two_lame_class_init (GstTwoLameClass * klass)
0, G_MAXINT, gst_two_lame_default_settings.quick_mode_count,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_add_pad_template (GST_ELEMENT_CLASS (klass),
gst_static_pad_template_get (&gst_two_lame_src_template));
gst_element_class_add_pad_template (GST_ELEMENT_CLASS (klass),
gst_static_pad_template_get (&gst_two_lame_sink_template));
gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS (klass),
&gst_two_lame_src_template);
gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS (klass),
&gst_two_lame_sink_template);
gst_element_class_set_static_metadata (GST_ELEMENT_CLASS (klass),
"TwoLAME mp2 encoder", "Codec/Encoder/Audio",