summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-08-31 17:09:10 +0200
committerwm4 <wm4@nowhere>2016-08-31 22:16:19 +0200
commit7dde096d8a6d9e82cac82bec439fef47d078f352 (patch)
tree4b6656fb69f4ec62b114ebd3cab0c5e8470a9fbb /libmpv
parente024906408c4d079e77b136de9b0562a93daadce (diff)
downloadmpv-7dde096d8a6d9e82cac82bec439fef47d078f352.tar.bz2
mpv-7dde096d8a6d9e82cac82bec439fef47d078f352.tar.xz
m_config: introduce and use OPT_ALIAS for some options
OPT_ALIAS redirects the options at a higher level, instead of introducing "duplicate" options with different name but same backing storage. This uses the OPT_REPLACED mechanisms - only the deprecation warning had to be made conditional. Note that e.g. --no-video still works, because the "--no-..." redirection and OPT_ALIAS are orthogonal. The deprecated --sub -> --sub-file alias had to be dropped, because it essentially conflicts with --no-sub. If anyone complains, this could probably still be undone by letting m_config_find_negation_opt do a special mapping for --no-sub. (Which would be dumb, but simple and effective.)
Diffstat (limited to 'libmpv')
0 files changed, 0 insertions, 0 deletions