mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
obs-ffmpeg: Fix AMF AVC / HEVC check logic
This commit is contained in:
1 file changed
+1
-1
@@ -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";
|
||||
|
||||
/* ----------------------------------- */
|
||||
|
||||
Reference in new issue
Block a user