summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2021-12-21 22:46:49 -0800
committerGravatar GitHub2021-12-21 22:46:49 -0800
commitf1eff447bbd384b9c091f4ff559affae1f05855c (patch)
treeca01c6afce779d43fa47ef10f589205ccf7a9897 /src
parentMerge pull request #7604 from ameerj/fullscreen-render-window (diff)
parentvideo_core/codecs: re-enable VAAPI/VDPAU on BSDs after 72aa418b0b41 (diff)
downloadyuzu-f1eff447bbd384b9c091f4ff559affae1f05855c.tar.gz
yuzu-f1eff447bbd384b9c091f4ff559affae1f05855c.tar.xz
yuzu-f1eff447bbd384b9c091f4ff559affae1f05855c.zip
Merge pull request #7602 from jbeich/freebsd-vaapi
build: enable VA-API on FreeBSD
Diffstat (limited to 'src')
-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 = {
32#ifdef _WIN32 32#ifdef _WIN32
33 AV_HWDEVICE_TYPE_D3D11VA, 33 AV_HWDEVICE_TYPE_D3D11VA,
34 AV_HWDEVICE_TYPE_DXVA2, 34 AV_HWDEVICE_TYPE_DXVA2,
35#elif defined(__linux__) 35#elif defined(__unix__)
36 AV_HWDEVICE_TYPE_VAAPI, 36 AV_HWDEVICE_TYPE_VAAPI,
37 AV_HWDEVICE_TYPE_VDPAU, 37 AV_HWDEVICE_TYPE_VDPAU,
38#endif 38#endif