diff options
author | ods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-09-02 08:44:55 +0000 |
---|---|---|
committer | ods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-09-02 08:44:55 +0000 |
commit | 37d4235b7e1803b03cbc0b478e25904e296b812b (patch) | |
tree | 93d30523e35c6460c8e4b00def1ebd2dcf9dcdf7 /cfg-mplayer.h | |
parent | d620029e4b448882df613813c1f718e5a36973fd (diff) | |
download | mpv-37d4235b7e1803b03cbc0b478e25904e296b812b.tar.bz2 mpv-37d4235b7e1803b03cbc0b478e25904e296b812b.tar.xz |
Adds -idle, an option to make MPlayer wait for input ('loadfile' or
'loadlist') commands when it's done playing all files or there are no files
on the command line. When used with -fixed-vo, you get a "frozen" vo
window, but it can still accept input commands from there (clicking 'q'
from the xv window will cause MPlayer to close..)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16348 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r-- | cfg-mplayer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 58dd5c2fa6..b7af65bb9d 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -372,6 +372,8 @@ m_option_t mplayer_opts[]={ #endif {"slave", &slave_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL}, + {"idle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL}, + {"noidle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 0, NULL}, {"use-stdin", "-use-stdin has been renamed to -noconsolecontrols, use that instead.", CONF_TYPE_PRINT, 0, 0, 0, NULL}, {"key-fifo-size", &key_fifo_size, CONF_TYPE_INT, CONF_RANGE, 2, 65000, NULL}, {"noconsolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL}, |