diff options
author | wm4 <wm4@nowhere> | 2016-09-05 21:05:47 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-05 21:26:39 +0200 |
commit | 633eb30cbe0e52879443633760e9460fe5bdcdfa (patch) | |
tree | 3eabbb8e58062833905344abc74f59103503ca0f /demux/demux_timeline.c | |
parent | 327cb2a06c32f2c05fc266272936080d06103a63 (diff) | |
download | mpv-633eb30cbe0e52879443633760e9460fe5bdcdfa.tar.bz2 mpv-633eb30cbe0e52879443633760e9460fe5bdcdfa.tar.xz |
options: add automagic hack for handling sub-option deprecations
I decided that it's too much work to convert all the VO/AOs to the new
option system manually at once. So here's a shitty hack instead, which
achieves almost the same thing. (The only user-visible difference is
that e.g. --vo=name:help will list the sub-options normally, instead of
showing them as deprecation placeholders. Also, the sub-option parser
will verify each option normally, instead of deferring to the global
option parser.)
Another advantage is that once we drop the deprecated options,
converting the remaining things will be easier, because we obviously
don't need to add the compatibility hacks.
Using this mechanism is separate in the next commit to keep the diff
noise down.
Diffstat (limited to 'demux/demux_timeline.c')
0 files changed, 0 insertions, 0 deletions