From: Víctor Manuel Jáquez Leal Date: Tue, 24 May 2022 11:19:45 +0000 (+0200) Subject: vafilter: Fix logging of unsupported alpha blending. X-Git-Tag: 1.22.0~1587 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=46e536898f382391988931e13b09f1c4280c0db6;p=platform%2Fupstream%2Fgstreamer.git vafilter: Fix logging of unsupported alpha blending. Part-of: --- 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