From a4bef329c2bc5a62b1936f962d20389e464011df Mon Sep 17 00:00:00 2001 From: tytan652 Date: Tue, 22 Aug 2023 12:46:09 +0200 Subject: [PATCH] UI: Replace remaining enc-amf reference Since enc-amf was removed, this reference causes issue by flagging H264 AMF as unsupported forcing a fallback to x264. --- UI/window-basic-main-profiles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/window-basic-main-profiles.cpp b/UI/window-basic-main-profiles.cpp index 4f0acaa34..cd4649ccc 100644 --- a/UI/window-basic-main-profiles.cpp +++ b/UI/window-basic-main-profiles.cpp @@ -837,7 +837,7 @@ void OBSBasic::CheckForSimpleModeX264Fallback() const char *id; while (obs_enum_encoder_types(idx++, &id)) { - if (strcmp(id, "amd_amf_h264") == 0) + if (strcmp(id, "h264_texture_amf") == 0) amd_supported = true; else if (strcmp(id, "obs_qsv11") == 0) qsv_supported = true;