summaryrefslogtreecommitdiffstats
path: root/libvo/osd.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-27 07:22:48 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-27 07:22:48 +0000
commit7416ded30bd30a3614dfbd641f3060f96cd3ae0b (patch)
treeed1424307e860e7f9b5b3c1d6667bdf035dab640 /libvo/osd.c
parentf8687cd3f93b5570ac6fd61fde6330878e23c6ff (diff)
downloadmpv-7416ded30bd30a3614dfbd641f3060f96cd3ae0b.tar.bz2
mpv-7416ded30bd30a3614dfbd641f3060f96cd3ae0b.tar.xz
Change 'if(verbose)' to the more appropriate mp_msg_test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17970 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/osd.c')
-rw-r--r--libvo/osd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libvo/osd.c b/libvo/osd.c
index f73631a161..aa446617f8 100644
--- a/libvo/osd.c
+++ b/libvo/osd.c
@@ -12,8 +12,6 @@
#include "cpudetect.h"
#include "mangle.h"
-extern int verbose; // defined in mplayer.c
-
#if defined(ARCH_X86) || defined(ARCH_X86_64)
#define CAN_COMPILE_X86_ASM
#endif
@@ -267,7 +265,7 @@ void vo_draw_alpha_init(void){
}
#endif
//FIXME the optimized stuff is a lie for 15/16bpp as they aren't optimized yet
- if(verbose)
+ if( mp_msg_test(MSGT_OSD,MSGL_V) )
{
#ifdef RUNTIME_CPUDETECT
#ifdef CAN_COMPILE_X86_ASM