From eebf08b978f91243bb6eed54012267cc27183438 Mon Sep 17 00:00:00 2001 From: diego Date: Fri, 24 Mar 2006 08:12:03 +0000 Subject: Convert all if(verbose>X) to mp_msg_test calls. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/stream.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libmpdemux/stream.c') diff --git a/libmpdemux/stream.c b/libmpdemux/stream.c index 869b3e1f62..0ea628a008 100644 --- a/libmpdemux/stream.c +++ b/libmpdemux/stream.c @@ -32,7 +32,6 @@ #include "m_struct.h" -extern int verbose; // defined in mplayer.c void cache_uninit(stream_t *s); // defined in cache2.c //#include "vcd_read_bincue.h" @@ -246,7 +245,7 @@ int stream_fill_buffer(stream_t *s){ int stream_seek_long(stream_t *s,off_t pos){ off_t newpos=0; -// if(verbose>=3) printf("seek_long to 0x%X\n",(unsigned int)pos); +// if( mp_msg_test(MSGT_STREAM,MSGL_DBG3) ) printf("seek_long to 0x%X\n",(unsigned int)pos); s->buf_pos=s->buf_len=0; @@ -271,7 +270,7 @@ off_t newpos=0; break; } -if(verbose>=3){ +if( mp_msg_test(MSGT_STREAM,MSGL_DBG3) ){ printf("s->pos=%"PRIX64" newpos=%"PRIX64" new_bufpos=%"PRIX64" buflen=%X \n", (int64_t)s->pos,(int64_t)newpos,(int64_t)pos,s->buf_len); } -- cgit v1.2.3