summaryrefslogtreecommitdiffstats
path: root/mp_msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'mp_msg.c')
-rw-r--r--mp_msg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mp_msg.c b/mp_msg.c
index 964896e478..23f422407c 100644
--- a/mp_msg.c
+++ b/mp_msg.c
@@ -26,6 +26,9 @@ int verbose = 0;
void mp_msg_init(){
int i;
+ char *env = getenv("MPLAYER_VERBOSE");
+ if (env)
+ verbose = atoi(env);
#ifdef USE_I18N
#ifdef MP_DEBUG
fprintf(stdout, "Using GNU internationalization\n");