Compare commits

..

1 commit

Author SHA1 Message Date
David Rosca 3bb573a911
Merge 9a8ff0847d into 8892edde05 2024-06-27 04:04:18 +07:00

View file

@ -23,10 +23,8 @@
#endif #endif
enum AVHWDeviceType hw_priority[] = { enum AVHWDeviceType hw_priority[] = {
AV_HWDEVICE_TYPE_D3D11VA, AV_HWDEVICE_TYPE_CUDA, AV_HWDEVICE_TYPE_D3D11VA, AV_HWDEVICE_TYPE_DXVA2,
AV_HWDEVICE_TYPE_DXVA2, AV_HWDEVICE_TYPE_QSV, AV_HWDEVICE_TYPE_NONE,
AV_HWDEVICE_TYPE_QSV,
AV_HWDEVICE_TYPE_NONE,
}; };
static bool has_hw_type(const AVCodec *c, enum AVHWDeviceType type) static bool has_hw_type(const AVCodec *c, enum AVHWDeviceType type)