From c55d85992078e465f9e0b7b6998ccdc5f5e77703 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 31 Aug 2016 18:10:11 +0200 Subject: 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. --- DOCS/man/options.rst | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'DOCS') 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=`` +``--video-aspect=`` 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=`` This sets the default video aspect determination method (if the aspect is -- cgit v1.2.3