[MPlayer-cvslog] CVS: main/libao2 ao_oss.c, 1.58, 1.59 audio_out.c, 1.53, 1.54

Reynaldo H. Verdejo CVS syncmail at mplayerhq.hu
Thu Mar 30 08:41:00 CEST 2006


CVS change done by Reynaldo H. Verdejo CVS

Update of /cvsroot/mplayer/main/libao2
In directory mail:/var2/tmp/cvs-serv30651/libao2

Modified Files:
	ao_oss.c audio_out.c 
Log Message:
Part1 of several printf2mp_msg changes in patch from Otvos Attila oattila AT chello DOT hu

Index: ao_oss.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_oss.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- ao_oss.c	9 Feb 2006 14:07:54 -0000	1.58
+++ ao_oss.c	30 Mar 2006 06:40:57 -0000	1.59
@@ -140,7 +140,7 @@
     case AFMT_AC3: return AF_FORMAT_AC3;
 #endif
     }
-    printf("Unknown/not supported OSS format: %x\n", format);
+    mp_msg(MSGT_GLOBAL,MSGL_ERR,MSGTR_AO_OSS_UnknownUnsupportedFormat, format);
     return -1;
 }
 

Index: audio_out.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/audio_out.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- audio_out.c	16 Feb 2006 22:35:04 -0000	1.53
+++ audio_out.c	30 Mar 2006 06:40:57 -0000	1.54
@@ -139,9 +139,9 @@
         mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_AUDIO_OUTPUTS\n");
       while (audio_out_drivers[i]) {
         const ao_info_t *info = audio_out_drivers[i++]->info;
-	printf("\t%s\t%s\n", info->short_name, info->name);
+	mp_msg(MSGT_GLOBAL, MSGL_INFO,"\t%s\t%s\n", info->short_name, info->name);
       }
-      printf("\n");
+      mp_msg(MSGT_GLOBAL, MSGL_INFO,"\n");
 }
 
 ao_functions_t* init_best_audio_out(char** ao_list,int use_plugin,int rate,int channels,int format,int flags){




More information about the MPlayer-cvslog mailing list