From e69415c07bd06a2a26faac8bf343b883541a1006 Mon Sep 17 00:00:00 2001 From: PavelBARABANOV Date: Sun, 26 Jul 2026 04:24:04 +0200 Subject: [PATCH] [android] disable VP8 MediaCodec decoder due to crashes in Diablo II (#4231) Hotfix, in the future an improved handling on VP8 will be introduced for Android. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4231 Reviewed-by: CamilleLaVey --- src/video_core/host1x/ffmpeg.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video_core/host1x/ffmpeg.cpp b/src/video_core/host1x/ffmpeg.cpp index 783259ccfc..676e5820a5 100644 --- a/src/video_core/host1x/ffmpeg.cpp +++ b/src/video_core/host1x/ffmpeg.cpp @@ -174,7 +174,8 @@ Decoder::Decoder(Tegra::Host1x::NvdecCommon::VideoCodec codec) { const char* mc_name = nullptr; switch (av_codec) { case AV_CODEC_ID_H264: mc_name = "h264_mediacodec"; break; - case AV_CODEC_ID_VP8: mc_name = "vp8_mediacodec"; break; + // Disabled: causes crashes in Diablo II + // case AV_CODEC_ID_VP8: mc_name = "vp8_mediacodec"; break; case AV_CODEC_ID_VP9: mc_name = "vp9_mediacodec"; break; default: break; }