diff options
author | Vineeth TM <vineeth.tm@samsung.com> | 2016-03-04 15:50:26 +0900 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-03-24 14:56:51 +0200 |
commit | 8cdfb13658a069cf8c45a3265bf865849d3dc8e9 (patch) | |
tree | 93bc4a0be9c90b3e4d086328781411d9798933d8 /ext/modplug/gstmodplug.cc | |
parent | c25782921324cb9ff7bfcc757257dfde05f95df3 (diff) | |
download | gstreamer-plugins-bad-8cdfb13658a069cf8c45a3265bf865849d3dc8e9.tar.gz |
bad: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763081
Diffstat (limited to 'ext/modplug/gstmodplug.cc')
-rw-r--r-- | ext/modplug/gstmodplug.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/modplug/gstmodplug.cc b/ext/modplug/gstmodplug.cc index ff3641db1..b5fbcb252 100644 --- a/ext/modplug/gstmodplug.cc +++ b/ext/modplug/gstmodplug.cc @@ -205,10 +205,8 @@ gst_modplug_class_init (GstModPlugClass * klass) gstelement_class->change_state = gst_modplug_change_state; - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&modplug_sink_template_factory)); - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&modplug_src_template_factory)); + gst_element_class_add_static_pad_template (gstelement_class, &modplug_sink_template_factory); + gst_element_class_add_static_pad_template (gstelement_class, &modplug_src_template_factory); gst_element_class_set_static_metadata (gstelement_class, "ModPlug", "Codec/Decoder/Audio", "Module decoder based on modplug engine", |