[Mplayer-cvslog] CVS: main/libvo osd.c,1.17,1.18
Alban Bedel CVS
albeu at mplayerhq.hu
Thu May 2 12:46:27 CEST 2002
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv27725/libvo
Modified Files:
osd.c
Log Message:
printf to mp_msg
Index: osd.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/osd.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- osd.c 19 Jan 2002 04:44:49 -0000 1.17
+++ osd.c 2 May 2002 10:46:25 -0000 1.18
@@ -7,6 +7,7 @@
#include "config.h"
#include "osd.h"
+#include "mp_msg.h"
//#define ENABLE_PROFILE
#include "../my_profile.h"
#include <inttypes.h>
@@ -248,27 +249,27 @@
#ifdef CAN_COMPILE_X86_ASM
// ordered per speed fasterst first
if(gCpuCaps.hasMMX2)
- printf("Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay\n");
+ mp_msg(MSGT_OSD,MSGL_INFO,"Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay\n");
else if(gCpuCaps.has3DNow)
- printf("Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay\n");
+ mp_msg(MSGT_OSD,MSGL_INFO,"Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay\n");
else if(gCpuCaps.hasMMX)
- printf("Using MMX Optimized OnScreenDisplay\n");
+ mp_msg(MSGT_OSD,MSGL_INFO,"Using MMX Optimized OnScreenDisplay\n");
else
- printf("Using X86 Optimized OnScreenDisplay\n");
+ mp_msg(MSGT_OSD,MSGL_INFO,"Using X86 Optimized OnScreenDisplay\n");
#else
- printf("Using Unoptimized OnScreenDisplay\n");
+ mp_msg(MSGT_OSD,MSGL_INFO,"Using Unoptimized OnScreenDisplay\n");
#endif
#else //RUNTIME_CPUDETECT
#ifdef HAVE_MMX2
- printf("Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay\n");
+ mp_msg(MSGT_OSD,MSGL_INFO,"Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay\n");
#elif defined (HAVE_3DNOW)
- printf("Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay\n");
+ mp_msg(MSGT_OSD,MSGL_INFO,"Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay\n");
#elif defined (HAVE_MMX)
- printf("Using MMX Optimized OnScreenDisplay\n");
+ mp_msg(MSGT_OSD,MSGL_INFO,"Using MMX Optimized OnScreenDisplay\n");
#elif defined (ARCH_X86)
- printf("Using X86 Optimized OnScreenDisplay\n");
+ mp_msg(MSGT_OSD,MSGL_INFO,"Using X86 Optimized OnScreenDisplay\n");
#else
- printf("Using Unoptimized OnScreenDisplay\n");
+ mp_msg(MSGT_OSD,MSGL_INFO,"Using Unoptimized OnScreenDisplay\n");
#endif
#endif //!RUNTIME_CPUDETECT
}
More information about the MPlayer-cvslog
mailing list