From 8261924db93eb436a9e1606d437f0fe64e56dc66 Mon Sep 17 00:00:00 2001 From: Anton Kindestam Date: Sat, 2 Jun 2018 12:53:58 +0200 Subject: drm_common: Add proper help option to drm-mode This was implemented by using OPT_STRING_VALIDATE for drm-mode, instead of OPT_INT. Using a string here also prepares for future additions to drm-mode that aim to allow specifying a mode by its resolution. --- DOCS/man/vo.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst index a735dbc059..0583eb6c43 100644 --- a/DOCS/man/vo.rst +++ b/DOCS/man/vo.rst @@ -479,13 +479,14 @@ Available video output drivers are: ``--drm-connector=[.]`` Select the connector to use (usually this is a monitor.) If ```` is empty or ``auto``, mpv renders the output on the first available - connector. Use ``--drm-connector=help`` to get list of available + connector. Use ``--drm-connector=help`` to get a list of available connectors. When using multiple graphic cards, use the ```` argument to disambiguate. (default: empty) ``--drm-mode=`` - Mode ID to use (resolution and frame rate). + Mode ID to use (resolution and frame rate). Use ``--drm-mode=help`` to + get a list of available modes for all active connectors. (default: 0) ``--drm-atomic=`` -- cgit v1.2.3