aboutsummaryrefslogtreecommitdiffhomepage
path: root/options
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2018-01-12 04:07:53 +0100
committerGravatar Kevin Mitchell <kevmitch@gmail.com>2018-01-13 03:26:45 -0800
commitcbfc001918cf3c562aff1d46822012997c9a8f84 (patch)
treef22d21e6f071b4a8055a381dfa6d104f15768bdc /options
parent6d4b4c0de3152bc2deb2df09ec3e98e032124593 (diff)
options: deprecate --vf-defaults and --af-defaults
Diffstat (limited to 'options')
-rw-r--r--options/options.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/options/options.c b/options/options.c
index 1de76f53e4..be27344a14 100644
--- a/options/options.c
+++ b/options/options.c
@@ -486,10 +486,12 @@ const m_option_t mp_opts[] = {
// ------------------------- codec/vfilter options --------------------
#if HAVE_LIBAF
- OPT_SETTINGSLIST("af-defaults", af_defs, 0, &af_obj_list, ),
+ OPT_SETTINGSLIST("af-defaults", af_defs, 0, &af_obj_list,
+ .deprecation_message = "use --af + enable/disable flags"),
OPT_SETTINGSLIST("af", af_settings, 0, &af_obj_list, ),
#endif
- OPT_SETTINGSLIST("vf-defaults", vf_defs, 0, &vf_obj_list, ),
+ OPT_SETTINGSLIST("vf-defaults", vf_defs, 0, &vf_obj_list,
+ .deprecation_message = "use --vf + enable/disable flags"),
OPT_SETTINGSLIST("vf", vf_settings, 0, &vf_obj_list, ),
OPT_FLAG("deinterlace", deinterlace, UPDATE_DEINT),