mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
glcolorconvert: Unref buffer with the correct function
This commit is contained in:
parent
5b13dca0ce
commit
a6f02d4b29
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->outbuf)
|
||||
gst_object_unref (convert->outbuf);
|
||||
gst_buffer_unref (convert->outbuf);
|
||||
convert->outbuf = NULL;
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue