vafilter: Fix logging of unsupported alpha blending.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2477>
This commit is contained in:
Víctor Manuel Jáquez Leal 2022-05-24 13:19:45 +02:00 committed by GStreamer Marge Bot
parent be2dfd0c36
commit 46e536898f

View file

@ -1729,7 +1729,7 @@ gst_va_filter_has_compose (GstVaFilter * self)
/* some drivers can compose, but may not support blending (e.g. GALLIUM) */ /* some drivers can compose, but may not support blending (e.g. GALLIUM) */
#ifndef GST_DISABLE_GST_DEBUG #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"); GST_WARNING_OBJECT (self, "VPP does not support alpha blending");
#endif #endif