mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
obs-qsv11: Ensure default devices are Intel devices
This commit is contained in:
parent
aed8e2384d
commit
543be8cf29
@ -348,11 +348,11 @@ void check_adapters(struct adapter_info *adapters, size_t *adapter_count)
|
||||
if (adapter->is_intel && default_h264_device == nullptr)
|
||||
default_h264_device = strdup(full_path.array);
|
||||
|
||||
if (adapter->supports_av1 &&
|
||||
if (adapter->is_intel && adapter->supports_av1 &&
|
||||
default_av1_device == nullptr)
|
||||
default_av1_device = strdup(full_path.array);
|
||||
|
||||
if (adapter->supports_hevc &&
|
||||
if (adapter->is_intel && adapter->supports_hevc &&
|
||||
default_hevc_device == nullptr)
|
||||
default_hevc_device = strdup(full_path.array);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user