summaryrefslogtreecommitdiffstats
path: root/mp_msg.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-10-16 07:30:30 +0200
committerwm4 <wm4@nowhere>2012-10-16 07:30:30 +0200
commit4e89851aa128a614f59ff4885af384a266cb24e6 (patch)
treec6ab9f34ef3e9c1d58f8ec837b93e249e79bdcf6 /mp_msg.c
parentf45eab6faea05834c1337175dbe51437707b8d7e (diff)
parent6557f206efeb4569a42f1e4810172bc97fd64619 (diff)
downloadmpv-4e89851aa128a614f59ff4885af384a266cb24e6.tar.bz2
mpv-4e89851aa128a614f59ff4885af384a266cb24e6.tar.xz
Merge branch 'master' into osd_changes
Conflicts: Makefile command.c libvo/gl_common.c libvo/vo_corevideo.m libvo/vo_opengl.c libvo/vo_opengl_old.c libvo/vo_opengl_shaders.glsl sub/ass_mp.c sub/osd_libass.c sub/sd_ass.c
Diffstat (limited to 'mp_msg.c')
-rw-r--r--mp_msg.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mp_msg.c b/mp_msg.c
index 0a4a786979..627ee04187 100644
--- a/mp_msg.c
+++ b/mp_msg.c
@@ -80,19 +80,19 @@ void mp_msg_init(void){
stdoutAttrs = cinfo.wAttributes;
#endif
int i;
- char *env = getenv("MPLAYER_VERBOSE");
+ char *env = getenv("MPV_VERBOSE");
if (env)
verbose = atoi(env);
for(i=0;i<MSGT_MAX;i++) mp_msg_levels[i] = -2;
mp_msg_cancolor = isatty(fileno(stdout));
mp_msg_levels[MSGT_IDENTIFY] = -1; // no -identify output by default
#ifdef CONFIG_TRANSLATION
- textdomain("mplayer");
- char *localedir = getenv("MPLAYER_LOCALEDIR");
+ textdomain("mpv");
+ char *localedir = getenv("MPV_LOCALEDIR");
if (localedir == NULL && strlen(MPLAYER_LOCALEDIR))
localedir = MPLAYER_LOCALEDIR;
- bindtextdomain("mplayer", localedir);
- bind_textdomain_codeset("mplayer", "UTF-8");
+ bindtextdomain("mpv", localedir);
+ bind_textdomain_codeset("mpv", "UTF-8");
#endif
}