summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorszabii <szabii@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-19 00:13:24 +0000
committerszabii <szabii@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-19 00:13:24 +0000
commitafadde7be4781a8a5a60c0c85e254deec9435415 (patch)
tree6dc3b1d3d5dce2311483d1025102b68116a3a496
parent5f4b4b943680997d5909931e63e65dea38458427 (diff)
downloadmpv-afadde7be4781a8a5a60c0c85e254deec9435415.tar.bz2
mpv-afadde7be4781a8a5a60c0c85e254deec9435415.tar.xz
config fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@149 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--cfg-mplayer.h3
-rw-r--r--mplayer.c1
-rw-r--r--mplayerHQ.c1
3 files changed, 1 insertions, 4 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index 1204bd13af..10b367a59c 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -38,7 +38,6 @@ struct config conf[]={
{"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0},
{"idx", &no_index, CONF_TYPE_FLAG, 0, 1, 0},
{"noidx", &no_index, CONF_TYPE_FLAG, 0, 0, 1},
- {"v", &verbose, CONF_TYPE_FLAG, 0, 0, 1},
- {"nov", &verbose, CONF_TYPE_FLAG, 0, 1, 0},
+ {"v", &verbose, CONF_TYPE_INT, 0, 0, 0},
{NULL, NULL, 0, 0, 0, 0}
};
diff --git a/mplayer.c b/mplayer.c
index 7da651195d..271927af6a 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -381,7 +381,6 @@ if (parse_config_file(conf, "/etc/mplayer.conf") < 0)
exit(1);
if ((homedir = getenv("HOME")) == NULL) {
printf("Can't find HOME dir\n");
- exit(1);
} else {
snprintf(conffile, 100, "%s/.mplayerrc", homedir);
if (parse_config_file(conf, conffile) < 0)
diff --git a/mplayerHQ.c b/mplayerHQ.c
index b5bd138e1b..ea2cd2051c 100644
--- a/mplayerHQ.c
+++ b/mplayerHQ.c
@@ -383,7 +383,6 @@ if (parse_config_file(conf, "/etc/mplayer.conf") < 0)
exit(1);
if ((homedir = getenv("HOME")) == NULL) {
printf("Can't find HOME dir\n");
- exit(1);
} else {
snprintf(conffile, 100, "%s/.mplayerrc", homedir);
if (parse_config_file(conf, conffile) < 0)