Browse Source

[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 <camillelavey99@gmail.com>
master
PavelBARABANOV 4 days ago
committed by crueter
parent
commit
e69415c07b
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 3
      src/video_core/host1x/ffmpeg.cpp

3
src/video_core/host1x/ffmpeg.cpp

@ -174,7 +174,8 @@ Decoder::Decoder(Tegra::Host1x::NvdecCommon::VideoCodec codec) {
const char* mc_name = nullptr; const char* mc_name = nullptr;
switch (av_codec) { switch (av_codec) {
case AV_CODEC_ID_H264: mc_name = "h264_mediacodec"; break; 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; case AV_CODEC_ID_VP9: mc_name = "vp9_mediacodec"; break;
default: break; default: break;
} }

Loading…
Cancel
Save