summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-05 23:02:35 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-05 23:02:35 +0000
commit6b5dc1e6123046245b1f76962170c94df4ea9dbe (patch)
tree1ab041d2b8e44c9f6b75f9753939d2e899602cbb /cfg-mplayer.h
parentf7b66d5568fc4cad20a734e51428859b148e4c79 (diff)
downloadmpv-6b5dc1e6123046245b1f76962170c94df4ea9dbe.tar.bz2
mpv-6b5dc1e6123046245b1f76962170c94df4ea9dbe.tar.xz
- It adds an option enqueue/noenqueue, so users can choose if they want to
have playlist overwritten by files on commandline or just enqueue them at the end ... - Playtree is finally cleared, as such gui has total control! - Autoplay if files are available on commandline and -enqueue is not set! - Fallback on Playlists finally does work with Gui and even with streaming Playlists! [ Before gui was broken as mplayer.c:playtree tried to have control] patch by Fabian Franz <FabianFranz@gmx.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9292 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index 45a6ccb522..d70bcc40a0 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -106,6 +106,7 @@ extern int rtspStreamOverTCP;
#ifdef HAVE_NEW_GUI
extern char * skinName;
+extern int enqueue;
#endif
#ifdef HAVE_ODIVX_POSTPROCESS
@@ -395,6 +396,8 @@ static config_t mplayer_opts[]={
#ifdef HAVE_NEW_GUI
{"skin", &skinName, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
+ {"enqueue", &enqueue, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+ {"noenqueue", &enqueue, CONF_TYPE_FLAG, 0, 0, 0, NULL},
#endif
{"noloop", &loop_times, CONF_TYPE_FLAG, 0, 0, -1, NULL},