From 70346d3be623bc5edc31a15bd1ca205c33050219 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 24 Feb 2013 23:36:40 +0100 Subject: video/out: remove video mode switching (--vm) This allowed making the player switch the monitor video mode when creating the video window. This was a questionable feature, and with today's LCD screens certainly not useful anymore. Switching to a random video mode (going by video width/height) doesn't sound too useful either. I'm not sure about the win32 implementation, but the X part had several bugs. Even in mplayer-svn (where x11_common.c hasn't been receiving any larger changes for a long time), this code is buggy and doesn't do the right thing anyway. (And what the hell _did_ it do when using multiple physical monitors?) If you really want this, write a shell script that calls xrandr before and after calling mpv. vo_sdl still can do mode switching, because SDL has native support for it, and using it is trivial. Add a new sub-option for this. --- DOCS/man/en/options.rst | 4 ---- DOCS/man/en/vo.rst | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst index 2d685f0217..ae83fd50b6 100644 --- a/DOCS/man/en/options.rst +++ b/DOCS/man/en/options.rst @@ -2320,10 +2320,6 @@ --vid= Select video channel. ``auto`` selects the default, ``no`` disables video. ---vm - Try to change to a different video mode. Supported by the x11 and xv video - output drivers. - --vo= Specify a priority list of video output drivers to be used. For interactive use you'd normally specify a single one to use, but in diff --git a/DOCS/man/en/vo.rst b/DOCS/man/en/vo.rst index e15436a061..00a598e41b 100644 --- a/DOCS/man/en/vo.rst +++ b/DOCS/man/en/vo.rst @@ -652,6 +652,9 @@ sdl sw Continue even if a software renderer is detected. + switch-mode + Instruct SDL to switch the monitor video mode when going fullscreen. + null Produces no video output. Useful for benchmarking. -- cgit v1.2.3