diff --git a/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapiblend.c b/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapiblend.c index 07a1ab6ed8..9f7cf94c31 100644 --- a/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapiblend.c +++ b/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapiblend.c @@ -275,9 +275,11 @@ gst_vaapi_blend_process_unlocked (GstVaapiBlend * blend, param->output_background_color = 0xff000000; #if VA_CHECK_VERSION(1,1,0) - blend_state.flags = VA_BLEND_GLOBAL_ALPHA; - blend_state.global_alpha = current->alpha; - param->blend_state = &blend_state; + if (current->alpha < 1.0) { + blend_state.flags = VA_BLEND_GLOBAL_ALPHA; + blend_state.global_alpha = current->alpha; + param->blend_state = &blend_state; + } #endif vaapi_unmap_buffer (va_display, id, NULL);