obs-ffmpeg: Fix NVENC blacklisted card check
Apparently, the parameters were the wrong way, making the test always fail to detect a blacklisted adapter.
This commit is contained in:
@@ -185,7 +185,7 @@ static bool is_blacklisted(const wchar_t *name)
|
||||
{
|
||||
for (size_t i = 0; i < num_blacklisted; i++) {
|
||||
const wchar_t *blacklisted_adapter = blacklisted_adapters[i];
|
||||
if (wstrstri(blacklisted_adapter, name)) {
|
||||
if (wstrstri(name, blacklisted_adapter)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user