1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-19 22:36:55 +00:00
mpv/DOCS/man/en
wm4 9b7fb867f7 options: drop --opt:subopt option names
For all suboptions, "flat" options were available by separating the
parent option and the sub option with ":", e.g. "--rawvideo:w=123". Drop
this syntax and use "-" as separator. This means even suboptions are
available as normal options now, e.g. "--rawvideo-w=123". The old syntax
doesn't work anymore.

Note that this is completely separate from actual suboptions. For
example, "-rawvideo w=123:h=123" still works. (Not that this syntax is
worth supporting, but it's needed anyway, for for other things like vf
and vo suboptions.)

As a consequence of this change, we also have to add new "no-" prefixed
options for flag suboptions, so that "--no-input-default-bindings"
works. ("--input-no-default-bindings" also works as a consequence of
allowing "-input no-default-bindings" - they are handled by the same
underlying option.)

For --input, always use the full syntax in the manpage. There exist
suboptions other than --input (like --tv, --rawvideo, etc.), but since
they might be handled differently in the future, don't touch these yet.

M_OPT_PREFIXED becomes the default, so remove it. As a minor unrelated
cleanup, get rid of M_OPT_MERGE too and use the OPT_SUBSTRUCT() macro in
some places.

Unrelated: remove the duplicated --tv:buffersize option, fix a typo in
changes.rst.
2013-02-23 00:07:11 +01:00
..
af.rst Rename af_volnorm to af_drc 2013-02-12 09:53:33 +01:00
ao.rst vo/ao: SDL 1.2+ audio driver, SDL 2.0+ accelerated video driver 2012-12-28 08:40:28 +01:00
changes.rst options: drop --opt:subopt option names 2013-02-23 00:07:11 +01:00
encode.rst encode: remove dependency on current ffmpeg 2012-10-01 11:04:48 +02:00
input.rst options: drop --opt:subopt option names 2013-02-23 00:07:11 +01:00
mpv.rst options: drop --opt:subopt option names 2013-02-23 00:07:11 +01:00
options.rst options: drop --opt:subopt option names 2013-02-23 00:07:11 +01:00
vf.rst screenshot: minor simplification, prefer VF over VO 2013-01-30 23:41:22 +01:00
vo.rst manpage: fixes 2013-01-31 01:58:58 +01:00