aboutsummaryrefslogtreecommitdiffhomepage
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
parent6d4b4c0de3152bc2deb2df09ec3e98e032124593 (diff)
options: deprecate --vf-defaults and --af-defaults
-rw-r--r--DOCS/interface-changes.rst6
-rw-r--r--options/options.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index 7be73e8783..a269859c39 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -27,6 +27,12 @@ Interface changes
- --ytdl is now always enabled, even for libmpv
- add a number of --audio-resample-* options, which should from now on be
used instead of --af-defaults=lavrresample:...
+ - deprecate --vf-defaults and --af-defaults. These didn't work with the
+ lavfi bridge, so they have very little use left. The only potential use
+ is with af_lavrresample (going to be deprecated, --audio-resample-... set
+ its defaults), and various hw deinterlacing filters (like vf_vavpp), for
+ which you will have to stop using --deinterlace=yes, and instead use the
+ vf toggle commands and the filter enable/disable flag to customize it.
--- mpv 0.28.0 ---
- rename --hwdec=mediacodec option to mediacodec-copy, to reflect
conventions followed by other hardware video decoding APIs
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),