obs-ffmpeg: Fix AMF AVC / HEVC check logic

This commit is contained in:
Richard Stanway
2022-07-22 00:45:34 +02:00
parent 2b957c9368
commit 88226db6b3
+1 -1
View File
@@ -1663,7 +1663,7 @@ try {
hevc_supported |= info.supports_hevc;
}
if (!avc_supported || !hevc_supported)
if (!avc_supported && !hevc_supported)
throw "Neither AVC nor HEVC are supported by any devices";
/* ----------------------------------- */