Skip to content

Commit

Permalink
options: lower verbosity of option parsing
Browse files Browse the repository at this point in the history
Since this happens at per-frame level in mpv. Not entirely happy with
this solution but it's better than spamming log. And in practice, we
know what options are being applied anyway, since mpv already logs
`--libplacebo-opts`.
  • Loading branch information
haasn committed Aug 26, 2023
1 parent 9826640 commit 7acc15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ static bool option_set_raw(pl_options opts, pl_str k, pl_str v)
return false;

found:
PL_DEBUG(p, "Parsing option '%s' = '%.*s'", opt->key, PL_STR_FMT(v));
PL_TRACE(p, "Parsing option '%s' = '%.*s'", opt->key, PL_STR_FMT(v));
if (opt->deprecated)
PL_WARN(p, "Option '%s' is deprecated", opt->key);

Expand Down

0 comments on commit 7acc15f

Please sign in to comment.