diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-07-13 14:43:28 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-07-13 14:43:28 +0000 |
commit | 136a4127d794aeb4deed1847825f9ec1dba546ef (patch) | |
tree | 81910ec098062ddc3a0eca3563a1e10e9d9f043a /mp_msg.c | |
parent | 39148230dfe54f9b2b14b3db025b1d569f5ca53d (diff) | |
download | mpv-136a4127d794aeb4deed1847825f9ec1dba546ef.tar.bz2 mpv-136a4127d794aeb4deed1847825f9ec1dba546ef.tar.xz |
moved some annonying messages to debug mode only
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10416 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp_msg.c')
-rw-r--r-- | mp_msg.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -31,14 +31,18 @@ static int mp_msg_levels[MSGT_MAX]; // verbose level of this module void mp_msg_init(){ #ifdef USE_I18N +#ifdef MP_DEBUG fprintf(stdout, "Using GNU internationalization\n"); fprintf(stdout, "Original domain: %s\n", textdomain(NULL)); fprintf(stdout, "Original dirname: %s\n", bindtextdomain(textdomain(NULL),NULL)); +#endif setlocale(LC_ALL, ""); /* set from the environment variables */ bindtextdomain("mplayer", PREFIX"/share/locale"); textdomain("mplayer"); +#ifdef MP_DEBUG fprintf(stdout, "Current domain: %s\n", textdomain(NULL)); - fprintf(stdout, "Current dirname: %s\n", bindtextdomain(textdomain(NULL),NULL)); + fprintf(stdout, "Current dirname: %s\n\n", bindtextdomain(textdomain(NULL),NULL)); +#endif #endif mp_msg_set_level(MSGL_STATUS); } @@ -90,7 +94,8 @@ void mp_msg_c( int x, const char *format, ... ){ #endif #ifdef MSG_USE_COLORS -#if 1 +/* that's only a silly color test */ +#ifdef MP_DEBUG { int c; static int flag=1; if(flag) |