mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
ugly: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763082
This commit is contained in:
parent
ef773697a8
commit
ab281e6038
1 changed files with 4 additions and 4 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue