mirror of
https://github.com/mpv-player/mpv
synced 2025-02-28 11:20:56 +00:00
Removing annoying 'Reading config file ...' message when you run without verbose mode (-v)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@962 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7bbe7c90be
commit
01d07326bb
@ -30,6 +30,8 @@
|
||||
|
||||
#include "cfgparser.h"
|
||||
|
||||
extern int verbose;
|
||||
|
||||
static struct config *config;
|
||||
static int nr_options; /* number of options in 'conf' */
|
||||
static int parser_mode; /* COMMAND_LINE or CONFIG_FILE */
|
||||
@ -251,7 +253,7 @@ int parse_config_file(struct config *conf, char *conffile)
|
||||
return -1;
|
||||
}
|
||||
|
||||
printf("Reading config file: %s", conffile);
|
||||
if (verbose) printf("Reading config file: %s", conffile);
|
||||
|
||||
if (init_conf(conf, CONFIG_FILE) == -1) {
|
||||
ret = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user