Index: Gui/cfg.c =================================================================== RCS file: /cvsroot/mplayer/main/Gui/cfg.c,v retrieving revision 1.41 diff -u -r1.41 cfg.c --- Gui/cfg.c 30 Jul 2004 15:58:36 -0000 1.41 +++ Gui/cfg.c 9 Dec 2004 01:52:32 -0000 @@ -212,7 +212,7 @@ #endif // -- read configuration - mp_msg( MSGT_GPLAYER,MSGL_STATUS,"[cfg] read config file: %s\n",cfg ); + mp_msg( MSGT_GPLAYER,MSGL_V,"[cfg] read config file: %s\n",cfg ); gui_conf=m_config_new(); m_config_register_options( gui_conf,gui_opts ); if ( m_config_parse_config_file( gui_conf,cfg ) < 0 ) Index: Gui/interface.c =================================================================== RCS file: /cvsroot/mplayer/main/Gui/interface.c,v retrieving revision 1.96 diff -u -r1.96 interface.c --- Gui/interface.c 30 Jul 2004 15:58:36 -0000 1.96 +++ Gui/interface.c 9 Dec 2004 01:52:32 -0000 @@ -185,8 +185,8 @@ // --- load skin skinDirInHome=get_path("Skin"); skinMPlayerDir=MPLAYER_DATADIR "/Skin"; - printf("SKIN dir 1: '%s'\n",skinDirInHome); - printf("SKIN dir 2: '%s'\n",skinMPlayerDir); + mp_msg( MSGT_GPLAYER,MSGL_V,"SKIN dir 1: '%s'\n",skinDirInHome); + mp_msg( MSGT_GPLAYER,MSGL_V,"SKIN dir 2: '%s'\n",skinMPlayerDir); if ( !skinName ) skinName=strdup( "default" ); i = skinRead( skinName ); if ((i == -1) && strcmp(skinName,"default")) @@ -600,7 +600,7 @@ } break; case guiIEvent: - printf( "cmd: %d\n",(int)arg ); + mp_msg( MSGT_GPLAYER,MSGL_V,"cmd: %d\n",(int)arg ); switch( (int)arg ) { case MP_CMD_QUIT: Index: Gui/mplayer/mw.c =================================================================== RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.c,v retrieving revision 1.113 diff -u -r1.113 mw.c --- Gui/mplayer/mw.c 21 Nov 2004 15:10:37 -0000 1.113 +++ Gui/mplayer/mw.c 9 Dec 2004 01:52:33 -0000 @@ -551,7 +551,7 @@ if(stat(str,&buf) == 0 && S_ISDIR(buf.st_mode) == 0) { /* this is not a directory so try to play it */ - printf("Received D&D %s\n",str); + mp_msg( MSGT_GPLAYER,MSGL_STATUS,"Received D&D %s\n",str ); /* check if it is a subtitle file */ { @@ -590,7 +590,7 @@ } gtkSet(gtkAddPlItem,0,(void*)item); } else { - printf("Received not a file: %s !\n",str); + mp_msg( MSGT_GPLAYER,MSGL_STATUS,"Received not a file: %s !\n",str ); } free( str ); } Index: Gui/wm/wsxdnd.c =================================================================== RCS file: /cvsroot/mplayer/main/Gui/wm/wsxdnd.c,v retrieving revision 1.6 diff -u -r1.6 wsxdnd.c --- Gui/wm/wsxdnd.c 25 Mar 2004 21:49:48 -0000 1.6 +++ Gui/wm/wsxdnd.c 9 Dec 2004 01:52:33 -0000 @@ -5,6 +5,8 @@ #include "ws.h" #include "wsxdnd.h" +#include "mp_msg.h" + #include #include #include @@ -81,7 +83,7 @@ XSendEvent(wsDisplay, selowner, 0, 0, &xevent); if (!delme){ - printf("D&D: Nothing returned!\n"); + mp_msg( MSGT_GPLAYER,MSGL_WARN,"D&D: Nothing returned!\n" ); return False; } @@ -151,7 +153,7 @@ } } if (atom_support == None) { - printf("This doesn't seem as a file...\n"); + mp_msg( MSGT_GPLAYER,MSGL_WARN,"This doesn't seem as a file...\n" ); } } else { /* need to check the whole list here */