glcolorconvert: Unref buffer with the correct function

This commit is contained in:
Sebastian Dröge 2014-11-27 18:09:58 +01:00
parent b6ba579fa0
commit 082c12b8e2

View file

@ -597,7 +597,7 @@ _gst_gl_color_convert_perform_unlocked (GstGLColorConvert * convert,
if (!convert->priv->result) { if (!convert->priv->result) {
if (convert->outbuf) if (convert->outbuf)
gst_object_unref (convert->outbuf); gst_buffer_unref (convert->outbuf);
convert->outbuf = NULL; convert->outbuf = NULL;
return NULL; return NULL;
} }