Mercurial > mplayer.hg
changeset 10415:c1247b33c424
moved some annonying messages to debug mode only
author | alex |
---|---|
date | Sun, 13 Jul 2003 14:43:28 +0000 |
parents | 7e19afc06cbd |
children | 0165fc26bd12 |
files | mp_msg.c |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mp_msg.c Sun Jul 13 12:41:37 2003 +0000 +++ b/mp_msg.c Sun Jul 13 14:43:28 2003 +0000 @@ -31,14 +31,18 @@ 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 @@ #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)