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

This commit is contained in:
Jan Beich 2021-12-05 00:30:42 +00:00
parent 1a9576fdff
commit e57b13ad94
1 changed files with 1 additions and 1 deletions

View File

@ -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