mirror of https://github.com/mpv-player/mpv
options: deprecate --vf-defaults and --af-defaults
This commit is contained in:
parent
6d4b4c0de3
commit
cbfc001918
|
@ -27,6 +27,12 @@ Interface changes
|
||||||
- --ytdl is now always enabled, even for libmpv
|
- --ytdl is now always enabled, even for libmpv
|
||||||
- add a number of --audio-resample-* options, which should from now on be
|
- add a number of --audio-resample-* options, which should from now on be
|
||||||
used instead of --af-defaults=lavrresample:...
|
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 ---
|
--- mpv 0.28.0 ---
|
||||||
- rename --hwdec=mediacodec option to mediacodec-copy, to reflect
|
- rename --hwdec=mediacodec option to mediacodec-copy, to reflect
|
||||||
conventions followed by other hardware video decoding APIs
|
conventions followed by other hardware video decoding APIs
|
||||||
|
|
|
@ -486,10 +486,12 @@ const m_option_t mp_opts[] = {
|
||||||
// ------------------------- codec/vfilter options --------------------
|
// ------------------------- codec/vfilter options --------------------
|
||||||
|
|
||||||
#if HAVE_LIBAF
|
#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, ),
|
OPT_SETTINGSLIST("af", af_settings, 0, &af_obj_list, ),
|
||||||
#endif
|
#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_SETTINGSLIST("vf", vf_settings, 0, &vf_obj_list, ),
|
||||||
|
|
||||||
OPT_FLAG("deinterlace", deinterlace, UPDATE_DEINT),
|
OPT_FLAG("deinterlace", deinterlace, UPDATE_DEINT),
|
||||||
|
|
Loading…
Reference in New Issue