VERY experimental Nintendo Switch 2 emulator
C++
[android] disable VP8 MediaCodec decoder due to crashes in Diablo II (#4231)
PavelBARABANOVe69415c07bd0
diff --git a/src/video_core/host1x/ffmpeg.cpp b/src/video_core/host1x/ffmpeg.cppindex 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;}