diff options
Diffstat (limited to 'gst/gaudieffects/gstdodge.c')
-rw-r--r-- | gst/gaudieffects/gstdodge.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/gaudieffects/gstdodge.c b/gst/gaudieffects/gstdodge.c index 64cfd0149..ff61aa7e5 100644 --- a/gst/gaudieffects/gstdodge.c +++ b/gst/gaudieffects/gstdodge.c @@ -135,8 +135,10 @@ gst_dodge_base_init (gpointer gclass) "Dodge saturates the colors in the video signal.", "Luis de Bethencourt <luis@debethencourt.com>"); - gst_element_class_add_static_pad_template (element_class, &src_factory); - gst_element_class_add_static_pad_template (element_class, &sink_factory); + gst_element_class_add_pad_template (element_class, + gst_static_pad_template_get (&src_factory)); + gst_element_class_add_pad_template (element_class, + gst_static_pad_template_get (&sink_factory)); } /* Initialize the dodge's class. */ |