mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-21 21:45:01 -04:00
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:
1 parent
f2d7f5b2e7
commit
748067c930
1 file changed
+1
-1
@@ -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