glcolorconvert: Unref buffer with the correct function
This commit is contained in:
parent
5b13dca0ce
commit
a6f02d4b29
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user