summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/config.c b/config.c
index 0f1a3f58..66797741 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.91 2010-05-26 11:53:13 phintuka Exp $
+ * $Id: config.c,v 1.92 2010-05-26 12:10:02 phintuka Exp $
*
*/
@@ -685,6 +685,8 @@ bool config_t::ProcessArgs(int argc, char *argv[])
static const struct option long_options[] = {
{ "fullscreen", no_argument, NULL, 'f' },
{ "hud", no_argument, NULL, 'D' },
+ { "opengl-always",no_argument, NULL, 'O' },
+ { "opengl-hud", no_argument, NULL, 'Q' },
{ "width", required_argument, NULL, 'w' },
{ "height", required_argument, NULL, 'h' },
//{ "xkeyboard", no_argument, NULL, 'k' },
@@ -714,6 +716,16 @@ bool config_t::ProcessArgs(int argc, char *argv[])
LOGMSG("HUD OSD not supported\n");
#endif
break;
+ case 'O': ProcessArg("OpenglAlways", "1");
+#ifndef HAVE_OPENGL
+ LOGMSG("OpenGL HUD OSD not supported\n");
+#endif
+ break;
+ case 'Q': ProcessArg("OpenglHUDOSD", "1");
+#ifndef HAVE_OPENGL
+ LOGMSG("OpenGL HUD OSD not supported\n");
+#endif
+ break;
case 'w': ProcessArg("Fullscreen", "0");
ProcessArg("X11.WindowWidth", optarg);
break;