summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-08 14:13:51 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-08 14:13:51 +0000
commitf1ee0a4db230bd4b80957ddb882dd8306a7cf4b9 (patch)
tree26239134721c1e01b3d5b27b0242902a13bbf183 /mplayer.c
parent00c76dea5c1993f00c6af760d157197f1b13fb4a (diff)
downloadmpv-f1ee0a4db230bd4b80957ddb882dd8306a7cf4b9.tar.bz2
mpv-f1ee0a4db230bd4b80957ddb882dd8306a7cf4b9.tar.xz
Reintroduce an ugly variant of the -gui/-nogui options.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19361 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index d5e63b5052..b6dec82506 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2625,6 +2625,10 @@ struct {double pts; vo_functions_t *vo;} vf_vo_data;
tv_param_immediate = 1;
#endif
+ if (argc > 1 && argv[1] &&
+ (!strcmp(argv[1], "-gui") || !strcmp(argv[1], "-nogui"))) {
+ use_gui = !strcmp(argv[1], "-gui");
+ } else
if ( argv[0] )
{
char *base = strrchr(argv[0], '/');