Browse Source

prioritize d3d11/dxva

Signed-off-by: crueter <crueter@eden-emu.dev>
pull/3156/head
crueter 2 weeks ago
parent
commit
e63a41405e
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 2
      src/video_core/host1x/ffmpeg/ffmpeg.cpp

2
src/video_core/host1x/ffmpeg/ffmpeg.cpp

@ -30,9 +30,9 @@ constexpr AVPixelFormat PreferredCpuFormat = AV_PIX_FMT_YUV420P;
constexpr std::array PreferredGpuDecoders = { constexpr std::array PreferredGpuDecoders = {
#if defined (_WIN32) #if defined (_WIN32)
AV_HWDEVICE_TYPE_CUDA, AV_HWDEVICE_TYPE_CUDA,
AV_HWDEVICE_TYPE_D3D12VA,
AV_HWDEVICE_TYPE_D3D11VA, AV_HWDEVICE_TYPE_D3D11VA,
AV_HWDEVICE_TYPE_DXVA2, AV_HWDEVICE_TYPE_DXVA2,
AV_HWDEVICE_TYPE_D3D12VA,
#elif defined(__FreeBSD__) #elif defined(__FreeBSD__)
AV_HWDEVICE_TYPE_VDPAU, AV_HWDEVICE_TYPE_VDPAU,
#elif defined(__APPLE__) #elif defined(__APPLE__)

Loading…
Cancel
Save