forked from ShuriZma/suyu
video_core/codecs: re-enable VAAPI/VDPAU on BSDs after 72aa418b0b
This commit is contained in:
parent
1a9576fdff
commit
e57b13ad94
|
@ -32,7 +32,7 @@ constexpr std::array PREFERRED_GPU_DECODERS = {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
AV_HWDEVICE_TYPE_D3D11VA,
|
AV_HWDEVICE_TYPE_D3D11VA,
|
||||||
AV_HWDEVICE_TYPE_DXVA2,
|
AV_HWDEVICE_TYPE_DXVA2,
|
||||||
#elif defined(__linux__)
|
#elif defined(__unix__)
|
||||||
AV_HWDEVICE_TYPE_VAAPI,
|
AV_HWDEVICE_TYPE_VAAPI,
|
||||||
AV_HWDEVICE_TYPE_VDPAU,
|
AV_HWDEVICE_TYPE_VDPAU,
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue