summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-12-05 01:30:42 +0100
committerJan Beich <jbeich@FreeBSD.org>2021-12-18 21:57:30 +0100
commite57b13ad948eb43bed22125800f33c236d698781 (patch)
treeb738716ed5bcd0825d1da194d333d1a9d5a7b61e /src/video_core
parentcmake: enable VA-API on more Unix-like after 0be4e402e213 (diff)
downloadyuzu-e57b13ad948eb43bed22125800f33c236d698781.tar
yuzu-e57b13ad948eb43bed22125800f33c236d698781.tar.gz
yuzu-e57b13ad948eb43bed22125800f33c236d698781.tar.bz2
yuzu-e57b13ad948eb43bed22125800f33c236d698781.tar.lz
yuzu-e57b13ad948eb43bed22125800f33c236d698781.tar.xz
yuzu-e57b13ad948eb43bed22125800f33c236d698781.tar.zst
yuzu-e57b13ad948eb43bed22125800f33c236d698781.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/command_classes/codecs/codec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/command_classes/codecs/codec.cpp b/src/video_core/command_classes/codecs/codec.cpp
index 868b82f9b..04d0f3a2f 100644
--- a/src/video_core/command_classes/codecs/codec.cpp
+++ b/src/video_core/command_classes/codecs/codec.cpp
@@ -32,7 +32,7 @@ constexpr std::array PREFERRED_GPU_DECODERS = {
#ifdef _WIN32
AV_HWDEVICE_TYPE_D3D11VA,
AV_HWDEVICE_TYPE_DXVA2,
-#elif defined(__linux__)
+#elif defined(__unix__)
AV_HWDEVICE_TYPE_VAAPI,
AV_HWDEVICE_TYPE_VDPAU,
#endif