From f9e2d5026e4e9b0685137033dc08e2dc9034e5fc Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 8 May 2015 21:47:39 +0200 Subject: player: add --force-window=immediate mode This creates the window before the first file is loaded. This was requested a bunch of times, but on the other hand a change to make this behavior the default was reverted some time ago, because other users hated it. --- DOCS/man/options.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index e5da5fe536..0912c113f5 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -1586,7 +1586,7 @@ Window file.mkv normally, then fail to open ``/dev/null``, then exit). (In mpv 0.8.0, ``always`` was introduced, which restores the old behavior.) -``--force-window`` +``--force-window=`` Create a video output window even if there is no video. This can be useful when pretending that mpv is a GUI application. Currently, the window always has the size 640x480, and is subject to ``--geometry``, @@ -1598,7 +1598,9 @@ Window window placement still works if the video size is different from the ``--force-window`` default window size). This can be a problem if initialization doesn't work perfectly, such as when opening URLs with - bad network connection, or opening broken video files. + bad network connection, or opening broken video files. The ``immediate`` + mode can be used to create the window always on program start, but this + may cause other issues. ``--ontop`` Makes the player window stay on top of other windows. -- cgit v1.2.3