Mercurial > mplayer.hg
diff libao2/ao_plugin.c @ 13467:6c5620360391
printf --> mp_msg conversion in ao_plugin
patch by Reynaldo H. Verdejo Pinochet <reynaldo at opendot dot cl>
author | diego |
---|---|
date | Sat, 25 Sep 2004 22:18:41 +0000 |
parents | 99798c3cdb93 |
children | a92101a7eb49 |
line wrap: on
line diff
--- a/libao2/ao_plugin.c Sat Sep 25 21:02:49 2004 +0000 +++ b/libao2/ao_plugin.c Sat Sep 25 22:18:41 2004 +0000 @@ -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