summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.c5
-rw-r--r--config.h3
-rw-r--r--xineliboutput.c5
3 files changed, 9 insertions, 4 deletions
diff --git a/config.c b/config.c
index 5cee08fc..ada368ae 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: config.c,v 1.1 2006-06-03 10:01:17 phintuka Exp $
+ * $Id: config.c,v 1.2 2006-07-02 17:03:26 phintuka Exp $
*
*/
@@ -191,6 +191,7 @@ bool config_t::ProcessArgs(int argc, char *argv[])
{ "audio", required_argument, NULL, 'A' },
{ "post", required_argument, NULL, 'P' },
{ "primary", no_argument, NULL, 'p' },
+ { "exit-on-close",no_argument, NULL, 'c' },
{ NULL }
};
@@ -228,6 +229,8 @@ bool config_t::ProcessArgs(int argc, char *argv[])
break;
case 'p': ProcessArg("ForcePrimaryDevice", "1");
break;
+ case 'c': exit_on_close = 1;
+ break;
default: return false;
}
}
diff --git a/config.h b/config.h
index 535c6237..07f917aa 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: config.h,v 1.1 2006-06-03 09:50:54 phintuka Exp $
+ * $Id: config.h,v 1.2 2006-07-02 17:03:26 phintuka Exp $
*
*/
@@ -175,6 +175,7 @@ class config_t {
int scale_video;
int field_order;
int autocrop;
+ int exit_on_close;
int remote_mode;
int listen_port;
diff --git a/xineliboutput.c b/xineliboutput.c
index 64046dfa..3c1025ba 100644
--- a/xineliboutput.c
+++ b/xineliboutput.c
@@ -21,7 +21,7 @@
*
* xineliboutput.c: VDR Plugin interface
*
- * $Id: xineliboutput.c,v 1.2 2006-06-11 15:50:47 phintuka Exp $
+ * $Id: xineliboutput.c,v 1.3 2006-07-02 17:03:26 phintuka Exp $
*
*/
@@ -43,7 +43,7 @@
//---------------------------------plugin-------------------------------------
-static const char *VERSION = "0.99rc5";
+static const char *VERSION = "0.99rc6";
static const char *DESCRIPTION = "X11/xine-lib output plugin";
static const char *MAINMENUENTRY = "Xine-lib";
@@ -119,6 +119,7 @@ const char cmdLineHelp[] =
//" will be initialized."
" -p --primary Force xineliboutput to be primary device when\n"
" there are active frontend(s)\n"
+" -c --exit-on-close Exit vdr when local frontend window is closed\n"
;
const char *cPluginXinelibOutput::CommandLineHelp(void)