projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6e8741
)
va: vpp: don't break passthrough if no color balance required
author
Víctor Manuel Jáquez Leal
<vjaquez@igalia.com>
Fri, 5 Feb 2021 15:46:00 +0000
(16:46 +0100)
committer
Víctor Manuel Jáquez Leal
<vjaquez@igalia.com>
Fri, 5 Feb 2021 17:52:56 +0000
(18:52 +0100)
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>
sys/va/gstvavpp.c
patch
|
blob
|
history
diff --git
a/sys/va/gstvavpp.c
b/sys/va/gstvavpp.c
index 38a4cef3df673f0e128fe355011a78894c73910f..c5334eec824b4121bb370644be874463cc88c19e 100644
(file)
--- 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
TRU
E;
+ return
FALS
E;
}
static void