[Mplayer-cvslog] CVS: main/libao2 ao_plugin.c,1.24,1.25
Diego Biurrun CVS
syncmail at mplayerhq.hu
Sun Sep 26 00:18:44 CEST 2004
CVS change done by Diego Biurrun CVS
Update of /cvsroot/mplayer/main/libao2
In directory mail:/var2/tmp/cvs-serv1808/libao2
Modified Files:
ao_plugin.c
Log Message:
printf --> mp_msg conversion in ao_plugin
patch by Reynaldo H. Verdejo Pinochet <reynaldo at opendot dot cl>
Index: ao_plugin.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_plugin.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- ao_plugin.c 6 Apr 2004 17:55:36 -0000 1.24
+++ ao_plugin.c 25 Sep 2004 22:18:41 -0000 1.25
@@ -4,6 +4,8 @@
#include <stdlib.h>
#include <string.h>
+#include "mp_msg.h"
+#include "help_mp.h"
#include "afmt.h"
#include "audio_out.h"
#include "audio_out_internal.h"
@@ -87,7 +89,7 @@
}
cnt++;
}
- printf("[plugin]: Invalid plugin: %s \n",cfg);
+ mp_msg(MSGT_AO,MSGL_ERR,MSGTR_AO_PLUGIN_InvalidPlugin,cfg);
return 0;
}
else
@@ -104,7 +106,7 @@
}
cnt++;
}
- printf("[plugin]: Invalid plugin: %s \n",cfg);
+ mp_msg(MSGT_AO,MSGL_ERR,MSGTR_AO_PLUGIN_InvalidPlugin,cfg);
return 0;
}
else
More information about the MPlayer-cvslog
mailing list