Skip to content

Commit

Permalink
AMF 'preanalysis' property is now named 'preencode'
Browse files Browse the repository at this point in the history
  • Loading branch information
cgutman committed Oct 3, 2023
1 parent da5559b commit eeb22a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand All @@ -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 },
Expand All @@ -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 },
Expand Down

0 comments on commit eeb22a3

Please sign in to comment.