summaryrefslogtreecommitdiffstats
path: root/options/m_config_frontend.h
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-09-19 23:51:51 -0500
committerDudemanguy <random342@airmail.cc>2023-09-21 16:06:29 +0000
commit177fe48d794c0a52fe0f14e1d66bc3696348997f (patch)
tree72b9a93e19af290ba7615078f19cdea924a651ea /options/m_config_frontend.h
parentfb46666395d4b2693365db69d34e6080cfbf06dc (diff)
downloadmpv-177fe48d794c0a52fe0f14e1d66bc3696348997f.tar.bz2
mpv-177fe48d794c0a52fe0f14e1d66bc3696348997f.tar.xz
options: remove --vf-defaults and --af-defaults
These were deprecated a long time ago and apparently didn't even work with lavfi filters. Go ahead and remove them and additionally clean up some code related to them. m_config_from_obj_desc_and_args becomes much simpler now and a couple of arguments can be completely removed.
Diffstat (limited to 'options/m_config_frontend.h')
-rw-r--r--options/m_config_frontend.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/options/m_config_frontend.h b/options/m_config_frontend.h
index 2812033b75..72a5b81d94 100644
--- a/options/m_config_frontend.h
+++ b/options/m_config_frontend.h
@@ -115,10 +115,9 @@ struct m_config *m_config_new(void *talloc_ctx, struct mp_log *log,
// different sub-options for every filter (represented by separate desc
// structs).
// args is an array of key/value pairs (args=[k0, v0, k1, v1, ..., NULL]).
-// name/defaults is only needed for the legacy af-defaults/vf-defaults options.
struct m_config *m_config_from_obj_desc_and_args(void *ta_parent,
struct mp_log *log, struct mpv_global *global, struct m_obj_desc *desc,
- const char *name, struct m_obj_settings *defaults, char **args);
+ char **args);
// Like m_config_from_obj_desc_and_args(), but don't allocate option the
// struct, i.e. m_config.optstruct==NULL. This is used by the sub-option