diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-24 08:12:03 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-24 08:12:03 +0000 |
commit | eebf08b978f91243bb6eed54012267cc27183438 (patch) | |
tree | 83ce4df0814283621f24ef1d3ea4217981046993 /libmpdemux/asf_streaming.c | |
parent | 35e90f1556475ee205dee6c253b788ab073133c0 (diff) | |
download | mpv-eebf08b978f91243bb6eed54012267cc27183438.tar.bz2 mpv-eebf08b978f91243bb6eed54012267cc27183438.tar.xz |
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
Diffstat (limited to 'libmpdemux/asf_streaming.c')
-rw-r--r-- | libmpdemux/asf_streaming.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libmpdemux/asf_streaming.c b/libmpdemux/asf_streaming.c index 30ebc29dc7..2ddfbecc14 100644 --- a/libmpdemux/asf_streaming.c +++ b/libmpdemux/asf_streaming.c @@ -31,7 +31,6 @@ ((guid)[3] << 24 | (guid)[2] << 16 | (guid)[1] << 8 | (guid)[0]) #endif -extern int verbose; extern int network_bandwidth; int asf_mmst_streaming_start( stream_t *stream ); @@ -759,7 +758,7 @@ static int asf_http_streaming_start( stream_t *stream, int *demuxer_type ) { } http_response_append( http_hdr, buffer, i ); } while( !http_is_header_entire( http_hdr ) ); - if( verbose>0 ) { + if( mp_msg_test(MSGT_NETWORK,MSGL_V) ) { http_hdr->buffer[http_hdr->buffer_size]='\0'; mp_msg(MSGT_NETWORK,MSGL_DBG2,"Response [%s]\n", http_hdr->buffer ); } |