From: Vineeth TM Date: Fri, 4 Mar 2016 07:14:44 +0000 (+0900) Subject: ugly: use new gst_element_class_add_static_pad_template() X-Git-Tag: 1.16.2~901^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=31c1ed8b9be2a4b7ce86dc24d0eac24788672adc;p=platform%2Fupstream%2Fgst-plugins-good.git ugly: use new gst_element_class_add_static_pad_template() https://bugzilla.gnome.org/show_bug.cgi?id=763082 --- diff --git a/ext/lame/gstlamemp3enc.c b/ext/lame/gstlamemp3enc.c index 43b63ff..a4a637a 100644 --- a/ext/lame/gstlamemp3enc.c +++ b/ext/lame/gstlamemp3enc.c @@ -228,10 +228,10 @@ gst_lamemp3enc_class_init (GstLameMP3EncClass * klass) gobject_class->get_property = gst_lamemp3enc_get_property; gobject_class->finalize = gst_lamemp3enc_finalize; - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&gst_lamemp3enc_src_template)); - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&gst_lamemp3enc_sink_template)); + gst_element_class_add_static_pad_template (gstelement_class, + &gst_lamemp3enc_src_template); + gst_element_class_add_static_pad_template (gstelement_class, + &gst_lamemp3enc_sink_template); gst_element_class_set_static_metadata (gstelement_class, "L.A.M.E. mp3 encoder", "Codec/Encoder/Audio",