[Mplayer-cvslog] CVS: main/libvo osd.c,1.17,1.18
Arpi
arpi at thot.banki.hu
Thu May 2 13:10:28 CEST 2002
Hi,
these optimization-related prints should be at verbose level, imho
normal user isn't interested in which routines use which feature of cpu :)
> 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 OnSc
> reenDisplay\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 OnS
> creenDisplay\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 OnSc
> reenDisplay\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 OnS
> creenDisplay\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
> }
>
> _______________________________________________
> Mplayer-cvslog mailing list
> Mplayer-cvslog at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog
>
>
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-cvslog
mailing list