From a29b56008acfbf481131d46d51c7c012fef2c074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Fri, 5 Feb 2021 16:46:00 +0100 Subject: [PATCH] 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: --- sys/va/gstvavpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/va/gstvavpp.c b/sys/va/gstvavpp.c index 38a4cef3df..c5334eec82 100644 --- a/sys/va/gstvavpp.c +++ b/sys/va/gstvavpp.c @@ -808,7 +808,7 @@ _add_filter_cb_buffer (GstVaVpp * self, return gst_va_filter_add_filter_buffer (self->filter, param, sizeof (*param), c); } - return TRUE; + return FALSE; } static void