diff options
Diffstat (limited to 'ext/opencv/gstcvsmooth.cpp')
-rw-r--r-- | ext/opencv/gstcvsmooth.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/opencv/gstcvsmooth.cpp b/ext/opencv/gstcvsmooth.cpp index 72c6f4241..181576bfd 100644 --- a/ext/opencv/gstcvsmooth.cpp +++ b/ext/opencv/gstcvsmooth.cpp @@ -196,6 +196,7 @@ gst_cv_smooth_class_init (GstCvSmoothClass * klass) gst_element_class_add_pad_template (element_class, templ); templ = gst_pad_template_new ("src", GST_PAD_SRC, GST_PAD_ALWAYS, caps); gst_element_class_add_pad_template (element_class, templ); + gst_caps_unref (caps); } /* initialize the new element |