VERY experimental Nintendo Switch 2 emulator
C++
video_core/codecs: re-enable VAAPI/VDPAU on BSDs after f91cc356fb19
Jan Beich85f65a6995bb
diff --git a/src/video_core/command_classes/codecs/codec.cpp b/src/video_core/command_classes/codecs/codec.cppindex 868b82f9bd..04d0f3a2fe 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 _WIN32AV_HWDEVICE_TYPE_D3D11VA,AV_HWDEVICE_TYPE_DXVA2,-#elif defined(__linux__)+#elif defined(__unix__)AV_HWDEVICE_TYPE_VAAPI,AV_HWDEVICE_TYPE_VDPAU,#endif