summaryrefslogtreecommitdiff
path: root/gst/jp2kdecimator/gstjp2kdecimator.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/jp2kdecimator/gstjp2kdecimator.c')
-rw-r--r--gst/jp2kdecimator/gstjp2kdecimator.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/jp2kdecimator/gstjp2kdecimator.c b/gst/jp2kdecimator/gstjp2kdecimator.c
index cb95cc071..75ee74605 100644
--- a/gst/jp2kdecimator/gstjp2kdecimator.c
+++ b/gst/jp2kdecimator/gstjp2kdecimator.c
@@ -92,10 +92,10 @@ gst_jp2k_decimator_class_init (GstJP2kDecimatorClass * klass)
"Removes information from JPEG2000 streams without recompression",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&sink_pad_template));
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&src_pad_template));
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &sink_pad_template);
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &src_pad_template);
gobject_class->set_property = gst_jp2k_decimator_set_property;
gobject_class->get_property = gst_jp2k_decimator_get_property;