glcolorconvert: Unref buffer with the correct function

This commit is contained in:
Sebastian Dröge 2014-11-27 18:09:58 +01:00 committed by Tim-Philipp Müller
parent 5b13dca0ce
commit a6f02d4b29

View file

@ -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;
}