va: vpp: don't break passthrough if no color balance required

The function `_add_filter_cb_buffer()` returned TRUE if no color balance filter
are required, but that's is wrong, since it will break the passthrough. This
patch return FALSE which is the correct value for the situation.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2007>
This commit is contained in:
Víctor Manuel Jáquez Leal 2021-02-05 16:46:00 +01:00
parent b6e8741c29
commit a29b56008a

View file

@ -808,7 +808,7 @@ _add_filter_cb_buffer (GstVaVpp * self,
return gst_va_filter_add_filter_buffer (self->filter, param, return gst_va_filter_add_filter_buffer (self->filter, param,
sizeof (*param), c); sizeof (*param), c);
} }
return TRUE; return FALSE;
} }
static void static void