diff cfg-mplayer.h @ 16347:da2926d990ce

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..)
author ods15
date Fri, 02 Sep 2005 08:44:55 +0000
parents d565dc2ce82e
children 56a5f69e9b35
line wrap: on
line diff
--- a/cfg-mplayer.h	Fri Sep 02 08:32:32 2005 +0000
+++ b/cfg-mplayer.h	Fri Sep 02 08:44:55 2005 +0000
@@ -372,6 +372,8 @@
 #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},