From 99d7a22335e883a2e3fb848802a54d07b9145f2b Mon Sep 17 00:00:00 2001 From: MaranBr Date: Fri, 7 Nov 2025 19:55:05 -0400 Subject: [PATCH] AMD Drivers on Windows are really bad --- src/video_core/host1x/ffmpeg/ffmpeg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_core/host1x/ffmpeg/ffmpeg.cpp b/src/video_core/host1x/ffmpeg/ffmpeg.cpp index 2c9e84aa76..f607ac198e 100644 --- a/src/video_core/host1x/ffmpeg/ffmpeg.cpp +++ b/src/video_core/host1x/ffmpeg/ffmpeg.cpp @@ -28,12 +28,12 @@ constexpr AVPixelFormat PreferredCpuFormat = AV_PIX_FMT_YUV420P; constexpr std::array PreferredGpuDecoders = { #if defined(_WIN32) AV_HWDEVICE_TYPE_CUDA, - AV_HWDEVICE_TYPE_VULKAN, AV_HWDEVICE_TYPE_D3D11VA, AV_HWDEVICE_TYPE_DXVA2, + AV_HWDEVICE_TYPE_VULKAN, #elif defined(__FreeBSD__) AV_HWDEVICE_TYPE_VDPAU, -#elif defined(__linux__) +#elif defined(__unix__) AV_HWDEVICE_TYPE_CUDA, AV_HWDEVICE_TYPE_VAAPI, AV_HWDEVICE_TYPE_VULKAN,