mirror of
https://github.com/mpv-player/mpv
synced 2025-02-24 08:57:00 +00:00
af_bs2b: fix option default value
--af=bs2b:help abort()ed because the default value of the "profile" option is not represented by any choice. Fix it by adding an "unset" choice. (It's a bit odd because there's already a "default" choice, which is not default, but I don't care enough about this filter.) Fixes #1712.
This commit is contained in:
parent
6f5db977c0
commit
7205e75079
@ -164,7 +164,8 @@ const struct af_info af_info_bs2b = {
|
||||
OPT_INTRANGE("fcut", fcut, 0, BS2B_MINFCUT, BS2B_MAXFCUT),
|
||||
OPT_INTRANGE("feed", feed, 0, BS2B_MINFEED, BS2B_MAXFEED),
|
||||
OPT_CHOICE("profile", profile, 0,
|
||||
({"default", BS2B_DEFAULT_CLEVEL},
|
||||
({"unset", 0},
|
||||
{"default", BS2B_DEFAULT_CLEVEL},
|
||||
{"cmoy", BS2B_CMOY_CLEVEL},
|
||||
{"jmeier", BS2B_JMEIER_CLEVEL})),
|
||||
{0}
|
||||
|
Loading…
Reference in New Issue
Block a user