mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
glcolorconvert: Unref buffer with the correct function
This commit is contained in:
parent
b6ba579fa0
commit
082c12b8e2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue