[vlc-commits] [Git][videolan/vlc][master] vpx_alpha: drop alpha if opaque chroma is not supported

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sat Jul 12 10:30:20 UTC 2025



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
a4012afe by Thomas Guillem at 2025-07-12T10:16:02+00:00
vpx_alpha: drop alpha if opaque chroma is not supported

Continue with the hardware decoder without alpha support instead of
failing the vout (black screen).

- - - - -


1 changed file:

- modules/codec/vpx_alpha.c


Changes:

=====================================
modules/codec/vpx_alpha.c
=====================================
@@ -295,8 +295,8 @@ static int FormatUpdate( decoder_t *dec, vlc_video_context *vctx )
             break;
 #endif // _WIN32
         default:
-            msg_Err(dec, "unsupported decoder output %4.4s", (char*)&dec->fmt_out.video.i_chroma);
-            res = VLC_EGENERIC;
+            msg_Warn(dec, "unsupported decoder output %4.4s, not handling alpha",
+                     (char*)&dec->fmt_out.video.i_chroma);
             break;
     }
     if (res == VLC_SUCCESS)



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a4012afedd580dad4014564cc4c4f0534cd4bae1

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a4012afedd580dad4014564cc4c4f0534cd4bae1
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list