mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-08 12:24:09 +00:00
Compare commits
1 commit
bef2d51537
...
3bb573a911
Author | SHA1 | Date | |
---|---|---|---|
3bb573a911 |
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue