mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2026-08-03 21:32:34 +00:00
Fix AMF debug logging to be conditional based on configured log level
This commit is contained in:
parent
cea9f152d8
commit
9d79018e9d
@ -761,6 +761,7 @@ namespace video {
|
||||
// Common options
|
||||
{
|
||||
{ "filler_data"s, false },
|
||||
{ "log_to_dbg"s, config::sunshine.min_log_level < 2 ? 1 : 0 },
|
||||
{ "preanalysis"s, &config::video.amd.amd_preanalysis },
|
||||
{ "quality"s, &config::video.amd.amd_quality_av1 },
|
||||
{ "rc"s, &config::video.amd.amd_rc_av1 },
|
||||
@ -775,6 +776,7 @@ namespace video {
|
||||
// Common options
|
||||
{
|
||||
{ "filler_data"s, false },
|
||||
{ "log_to_dbg"s, 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 },
|
||||
@ -794,7 +796,7 @@ namespace video {
|
||||
// Common options
|
||||
{
|
||||
{ "filler_data"s, false },
|
||||
{ "log_to_dbg"s, "1"s },
|
||||
{ "log_to_dbg"s, config::sunshine.min_log_level < 2 ? 1 : 0 },
|
||||
{ "preanalysis"s, &config::video.amd.amd_preanalysis },
|
||||
{ "qmax"s, 51 },
|
||||
{ "qmin"s, 0 },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user