diff options
author | Vineeth TM <vineeth.tm@samsung.com> | 2016-03-04 10:30:12 +0900 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-03-24 14:32:20 +0200 |
commit | 1071309870735ce1f167a2e53c224636812e6eaf (patch) | |
tree | 166ac197d98639553c4d9f437dfe53676f9340b1 /ext/speex/gstspeexdec.c | |
parent | 2b8b5f22465850b306b93c8317ac0f4ff10ca432 (diff) | |
download | gstreamer-plugins-good-1071309870735ce1f167a2e53c224636812e6eaf.tar.gz |
good: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763076
Diffstat (limited to 'ext/speex/gstspeexdec.c')
-rw-r--r-- | ext/speex/gstspeexdec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/speex/gstspeexdec.c b/ext/speex/gstspeexdec.c index daceaeea4..cc123ce06 100644 --- a/ext/speex/gstspeexdec.c +++ b/ext/speex/gstspeexdec.c @@ -114,10 +114,10 @@ gst_speex_dec_class_init (GstSpeexDecClass * klass) g_param_spec_boolean ("enh", "Enh", "Enable perceptual enhancement", DEFAULT_ENH, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&speex_dec_src_factory)); - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&speex_dec_sink_factory)); + gst_element_class_add_static_pad_template (gstelement_class, + &speex_dec_src_factory); + gst_element_class_add_static_pad_template (gstelement_class, + &speex_dec_sink_factory); gst_element_class_set_static_metadata (gstelement_class, "Speex audio decoder", "Codec/Decoder/Audio", "decode speex streams to audio", "Wim Taymans <wim@fluendo.com>"); |