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 /gst/coloreffects | |
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 'gst/coloreffects')
-rw-r--r-- | gst/coloreffects/gstchromahold.c | 8 | ||||
-rw-r--r-- | gst/coloreffects/gstcoloreffects.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/gst/coloreffects/gstchromahold.c b/gst/coloreffects/gstchromahold.c index 097312aec..011c401ee 100644 --- a/gst/coloreffects/gstchromahold.c +++ b/gst/coloreffects/gstchromahold.c @@ -153,10 +153,10 @@ gst_chroma_hold_class_init (GstChromaHoldClass * klass) "Removes all color information except for one color", "Sebastian Dröge <sebastian.droege@collabora.co.uk>"); - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&gst_chroma_hold_sink_template)); - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&gst_chroma_hold_src_template)); + gst_element_class_add_static_pad_template (gstelement_class, + &gst_chroma_hold_sink_template); + gst_element_class_add_static_pad_template (gstelement_class, + &gst_chroma_hold_src_template); GST_DEBUG_CATEGORY_INIT (gst_chroma_hold_debug, "chromahold", 0, "chromahold - Removes all color information except for one color"); diff --git a/gst/coloreffects/gstcoloreffects.c b/gst/coloreffects/gstcoloreffects.c index a62a45d8b..5a1aea110 100644 --- a/gst/coloreffects/gstcoloreffects.c +++ b/gst/coloreffects/gstcoloreffects.c @@ -590,10 +590,10 @@ gst_color_effects_class_init (GstColorEffectsClass * klass) "Color Look-up Table filter", "Filippo Argiolas <filippo.argiolas@gmail.com>"); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&gst_color_effects_sink_template)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&gst_color_effects_src_template)); + gst_element_class_add_static_pad_template (element_class, + &gst_color_effects_sink_template); + gst_element_class_add_static_pad_template (element_class, + &gst_color_effects_src_template); } static void |