From eeb22a3e5432862219b5a270ed269ff6f2f8c295 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 1 Oct 2023 18:37:23 -0500 Subject: [PATCH] AMF 'preanalysis' property is now named 'preencode' See https://github.com/FFmpeg/FFmpeg/commit/f593dc98bfe4196ad60510008d43764e526d8cb9 --- src/video.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/video.cpp b/src/video.cpp index c6adea24..6cbcf8cd 100644 --- a/src/video.cpp +++ b/src/video.cpp @@ -765,7 +765,7 @@ namespace video { { { "filler_data"s, false }, { "log_to_dbg"s, []() { return config::sunshine.min_log_level < 2 ? 1 : 0; } }, - { "preanalysis"s, &config::video.amd.amd_preanalysis }, + { "preencode"s, &config::video.amd.amd_preanalysis }, { "quality"s, &config::video.amd.amd_quality_av1 }, { "rc"s, &config::video.amd.amd_rc_av1 }, { "usage"s, &config::video.amd.amd_usage_av1 }, @@ -782,7 +782,7 @@ namespace video { { "log_to_dbg"s, []() { return config::sunshine.min_log_level < 2 ? 1 : 0; } }, { "gops_per_idr"s, 1 }, { "header_insertion_mode"s, "idr"s }, - { "preanalysis"s, &config::video.amd.amd_preanalysis }, + { "preencode"s, &config::video.amd.amd_preanalysis }, { "qmax"s, 51 }, { "qmin"s, 0 }, { "quality"s, &config::video.amd.amd_quality_hevc }, @@ -800,7 +800,7 @@ namespace video { { { "filler_data"s, false }, { "log_to_dbg"s, []() { return config::sunshine.min_log_level < 2 ? 1 : 0; } }, - { "preanalysis"s, &config::video.amd.amd_preanalysis }, + { "preencode"s, &config::video.amd.amd_preanalysis }, { "qmax"s, 51 }, { "qmin"s, 0 }, { "quality"s, &config::video.amd.amd_quality_h264 },