diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2021-02-05 16:46:00 +0100 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2021-02-05 18:52:56 +0100 |
commit | a29b56008acfbf481131d46d51c7c012fef2c074 (patch) | |
tree | b8d8e9fe56e829f16480761cc2b09cd3cdb99b38 /sys | |
parent | b6e8741c29c7f1f189730edc2d657864fdb46848 (diff) | |
download | gstreamer-plugins-bad-a29b56008acfbf481131d46d51c7c012fef2c074.tar.gz |
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>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/va/gstvavpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/va/gstvavpp.c b/sys/va/gstvavpp.c index 38a4cef3d..c5334eec8 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 |