From 08848e76d9219a097b8ca4d493ab1df7eb693162 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Mon, 23 Nov 2020 13:26:57 -0600 Subject: player: add --screen-name and --fs-screen-name Simple groundwork for adding a couple of user options that allow selecting the screen with a string name. The next two commits implements these options for xorg and wayland. --- DOCS/interface-changes.rst | 3 +++ DOCS/man/options.rst | 12 ++++++++++++ 2 files changed, 15 insertions(+) (limited to 'DOCS') diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 16f570ae13..60109b5aae 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -26,6 +26,9 @@ Interface changes :: + --- mpv 0.34.0 --- + - add `--screen-name` and `--fs-screen-name` flags to allow selecting the + screen by its name instead of the index --- mpv 0.33.0 --- - add `--d3d11-exclusive-fs` flag to enable D3D11 exclusive fullscreen mode when the player enters fullscreen. diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 50ff3ec665..5492d1ba4d 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -2839,6 +2839,12 @@ Window See also ``--fs-screen``. +``--screen-name=`` + In multi-monitor configurations, this option tells mpv which screen to + display the video on based on the screen name from the video backend. The + same caveats in the ``--screen`` option also apply here. This option is + ignored and does nothing if ``--screen`` is explicitly set. + ``--fullscreen``, ``--fs`` Fullscreen playback. @@ -2859,6 +2865,12 @@ Window See also ``--screen``. +``--fs-screen-name=`` + In multi-monitor configurations, this option tells mpv which screen to go + fullscreen to based on the screen name from the video backend. The same + caveats in the ``--fs-screen`` option also apply here. This option is + ignored and does nothing if ``--fs-screen`` is explicitly set. + ``--keep-open=`` Do not terminate when playing or seeking beyond the end of the file, and there is not next file to be played (and ``--loop`` is not used). -- cgit v1.2.3