diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-08 14:13:51 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-08 14:13:51 +0000 |
commit | f1ee0a4db230bd4b80957ddb882dd8306a7cf4b9 (patch) | |
tree | 26239134721c1e01b3d5b27b0242902a13bbf183 /mplayer.c | |
parent | 00c76dea5c1993f00c6af760d157197f1b13fb4a (diff) | |
download | mpv-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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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], '/'); |