diff options
Diffstat (limited to 'gst/gaudieffects/gstdilate.c')
-rw-r--r-- | gst/gaudieffects/gstdilate.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gst/gaudieffects/gstdilate.c b/gst/gaudieffects/gstdilate.c index c89123c16..72e6eb083 100644 --- a/gst/gaudieffects/gstdilate.c +++ b/gst/gaudieffects/gstdilate.c @@ -139,10 +139,8 @@ gst_dilate_base_init (gpointer gclass) "Dilate copies the brightest pixel around.", "Luis de Bethencourt <luis@debethencourt.com>"); - 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)); + gst_element_class_add_static_pad_template (element_class, &src_factory); + gst_element_class_add_static_pad_template (element_class, &sink_factory); } /* Initialize the dilate's class. */ |