Browse Source

video_core/codecs: re-enable VAAPI/VDPAU on BSDs after 72aa418b0b

pull/15/merge
Jan Beich 4 years ago
parent
commit
e57b13ad94
  1. 2
      src/video_core/command_classes/codecs/codec.cpp

2
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

Loading…
Cancel
Save