diff options
author | wm4 <wm4@nowhere> | 2016-08-31 18:10:11 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-08-31 22:17:21 +0200 |
commit | c55d85992078e465f9e0b7b6998ccdc5f5e77703 (patch) | |
tree | db6a4939daa1c3c0b810710b5d268592a8c29262 /DOCS | |
parent | 2057209057555dc138422daa354fe8db816c629c (diff) | |
download | mpv-c55d85992078e465f9e0b7b6998ccdc5f5e77703.tar.bz2 mpv-c55d85992078e465f9e0b7b6998ccdc5f5e77703.tar.xz |
m_option: replace --no-video-aspect alias
Instead, add a hacky OPT_ASPECT option type, which only exists to accept
a "no" parameter, which in combination with the "--no-..." handling code
makes --no-video-aspect work again.
We can also remove the code in m_config.c, which only existed to make
"--no-aspect" (a deprecated alias) to work.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/options.rst | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index f5a706940d..b4a49a75db 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -712,13 +712,14 @@ Video This option has no effect if ``--video-unscaled`` option is used. -``--video-aspect=<ratio>`` +``--video-aspect=<ratio|no>`` Override video aspect ratio, in case aspect information is incorrect or missing in the file being played. See also ``--no-video-aspect``. - Two values have special meaning: + These values have special meaning: :0: disable aspect ratio handling, pretend the video has square pixels + :no: same as ``0`` :-1: use the video stream or container aspect (default) But note that handling of these special values might change in the future. @@ -727,10 +728,7 @@ Video - ``--video-aspect=4:3`` or ``--video-aspect=1.3333`` - ``--video-aspect=16:9`` or ``--video-aspect=1.7777`` - -``--no-video-aspect`` - Ignore aspect ratio information from video file and assume the video has - square pixels. See also ``--video-aspect``. + - ``--no-video-aspect`` or ``--video-aspect=no`` ``--video-aspect-method=<hybrid|bitstream|container>`` This sets the default video aspect determination method (if the aspect is |