From 082c12b8e2bea90585bf991e4430de6d5b568545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 27 Nov 2014 18:09:58 +0100 Subject: [PATCH] glcolorconvert: Unref buffer with the correct function --- gst-libs/gst/gl/gstglcolorconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstglcolorconvert.c b/gst-libs/gst/gl/gstglcolorconvert.c index 290949de28..5b758fd9ae 100644 --- a/gst-libs/gst/gl/gstglcolorconvert.c +++ b/gst-libs/gst/gl/gstglcolorconvert.c @@ -597,7 +597,7 @@ _gst_gl_color_convert_perform_unlocked (GstGLColorConvert * convert, if (!convert->priv->result) { if (convert->outbuf) - gst_object_unref (convert->outbuf); + gst_buffer_unref (convert->outbuf); convert->outbuf = NULL; return NULL; }