diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2021-10-03 18:31:37 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2021-11-15 14:02:08 +0000 |
commit | 37619c4cf590f866bfb5fe517ef4daefb36c9193 (patch) | |
tree | c4e2643f7141e1c2f0ab09af64bc26cfd65b0adf /filters | |
parent | b66120a75d89a930a144cc8049954b8fbb55ad39 (diff) | |
download | mpv-37619c4cf590f866bfb5fe517ef4daefb36c9193.tar.bz2 mpv-37619c4cf590f866bfb5fe517ef4daefb36c9193.tar.xz |
options: remove always true m_obj_list::allow_unknown_entries
Ever instance of m_obj_list is a constant and for all of them, the field
is true. Just remove the field all together.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'filters')
-rw-r--r-- | filters/user_filters.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/filters/user_filters.c b/filters/user_filters.c index ae8da64d7d..34382ba052 100644 --- a/filters/user_filters.c +++ b/filters/user_filters.c @@ -67,7 +67,6 @@ const struct m_obj_list af_obj_list = { .get_desc = get_af_desc, .description = "audio filters", .allow_disable_entries = true, - .allow_unknown_entries = true, .check_unknown_entry = check_af_lavfi, .print_help_list = print_af_help_list, .print_unknown_entry_help = print_af_lavfi_help, @@ -124,7 +123,6 @@ const struct m_obj_list vf_obj_list = { .get_desc = get_vf_desc, .description = "video filters", .allow_disable_entries = true, - .allow_unknown_entries = true, .check_unknown_entry = check_vf_lavfi, .print_help_list = print_vf_help_list, .print_unknown_entry_help = print_vf_lavfi_help, |