From 46e536898f382391988931e13b09f1c4280c0db6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Tue, 24 May 2022 13:19:45 +0200 Subject: [PATCH] vafilter: Fix logging of unsupported alpha blending. Part-of: --- subprojects/gst-plugins-bad/sys/va/gstvafilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/sys/va/gstvafilter.c b/subprojects/gst-plugins-bad/sys/va/gstvafilter.c index 59de2e8..68eb8d6 100644 --- a/subprojects/gst-plugins-bad/sys/va/gstvafilter.c +++ b/subprojects/gst-plugins-bad/sys/va/gstvafilter.c @@ -1729,7 +1729,7 @@ gst_va_filter_has_compose (GstVaFilter * self) /* some drivers can compose, but may not support blending (e.g. GALLIUM) */ #ifndef GST_DISABLE_GST_DEBUG - if (self->pipeline_caps.blend_flags & VA_BLEND_GLOBAL_ALPHA) + if (!(self->pipeline_caps.blend_flags & VA_BLEND_GLOBAL_ALPHA)) GST_WARNING_OBJECT (self, "VPP does not support alpha blending"); #endif -- 2.7.4