Browse Source
prioritize d3d11/dxva
Signed-off-by: crueter <crueter@eden-emu.dev>
pull/3156/head
crueter
2 weeks ago
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
1 changed files with
1 additions and
1 deletions
-
src/video_core/host1x/ffmpeg/ffmpeg.cpp
|
|
|
@ -30,9 +30,9 @@ constexpr AVPixelFormat PreferredCpuFormat = AV_PIX_FMT_YUV420P; |
|
|
|
constexpr std::array PreferredGpuDecoders = { |
|
|
|
#if defined (_WIN32)
|
|
|
|
AV_HWDEVICE_TYPE_CUDA, |
|
|
|
AV_HWDEVICE_TYPE_D3D12VA, |
|
|
|
AV_HWDEVICE_TYPE_D3D11VA, |
|
|
|
AV_HWDEVICE_TYPE_DXVA2, |
|
|
|
AV_HWDEVICE_TYPE_D3D12VA, |
|
|
|
#elif defined(__FreeBSD__)
|
|
|
|
AV_HWDEVICE_TYPE_VDPAU, |
|
|
|
#elif defined(__APPLE__)
|
|
|
|
|