diff options
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 |