summaryrefslogtreecommitdiffstats
path: root/libmpdemux/asfheader.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-01 17:46:45 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-01 17:46:45 +0000
commit39fe4d0cd39059a6b020bf82a055bf51bac3c58b (patch)
tree89ce3b5e666c35fee409f680e4365c024f12f4ad /libmpdemux/asfheader.c
parent94b6f5babac8c35c6ffcd238985980fc44aa3eeb (diff)
downloadmpv-39fe4d0cd39059a6b020bf82a055bf51bac3c58b.tar.bz2
mpv-39fe4d0cd39059a6b020bf82a055bf51bac3c58b.tar.xz
verbose can be negative
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/asfheader.c')
-rw-r--r--libmpdemux/asfheader.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libmpdemux/asfheader.c b/libmpdemux/asfheader.c
index 8393036a6b..bab9928072 100644
--- a/libmpdemux/asfheader.c
+++ b/libmpdemux/asfheader.c
@@ -151,7 +151,7 @@ while(!stream_eof(demuxer->stream)){
case ASF_GUID_PREFIX_stream_header:
stream_read(demuxer->stream,(char*) &streamh,sizeof(streamh));
le2me_ASF_stream_header_t(&streamh);
- if(verbose){
+ if(verbose>0){
mp_msg(MSGT_HEADER,MSGL_V,"stream type: %s\n",asf_chunk_type(streamh.type));
mp_msg(MSGT_HEADER,MSGL_V,"stream concealment: %s\n",asf_chunk_type(streamh.concealment));
mp_msg(MSGT_HEADER,MSGL_V,"type: %d bytes, stream: %d bytes ID: %d\n",(int)streamh.type_size,(int)streamh.stream_size,(int)streamh.stream_no);
@@ -233,7 +233,7 @@ while(!stream_eof(demuxer->stream)){
if( contenth.title_size!=0 ) {
string=(char*)malloc(contenth.title_size);
stream_read(demuxer->stream, string, contenth.title_size);
- if(verbose)
+ if(verbose>0)
print_asf_string(" Title: ", string, contenth.title_size);
else
pack_asf_string(string, contenth.title_size);
@@ -243,7 +243,7 @@ while(!stream_eof(demuxer->stream)){
if( contenth.author_size!=0 ) {
string=(char*)realloc((void*)string, contenth.author_size);
stream_read(demuxer->stream, string, contenth.author_size);
- if(verbose)
+ if(verbose>0)
print_asf_string(" Author: ", string, contenth.author_size);
else
pack_asf_string(string, contenth.author_size);
@@ -253,7 +253,7 @@ while(!stream_eof(demuxer->stream)){
if( contenth.copyright_size!=0 ) {
string=(char*)realloc((void*)string, contenth.copyright_size);
stream_read(demuxer->stream, string, contenth.copyright_size);
- if(verbose)
+ if(verbose>0)
print_asf_string(" Copyright: ", string, contenth.copyright_size);
else
pack_asf_string(string, contenth.copyright_size);
@@ -263,7 +263,7 @@ while(!stream_eof(demuxer->stream)){
if( contenth.comment_size!=0 ) {
string=(char*)realloc((void*)string, contenth.comment_size);
stream_read(demuxer->stream, string, contenth.comment_size);
- if(verbose)
+ if(verbose>0)
print_asf_string(" Comment: ", string, contenth.comment_size);
else
pack_asf_string(string, contenth.comment_size);
@@ -273,7 +273,7 @@ while(!stream_eof(demuxer->stream)){
if( contenth.rating_size!=0 ) {
string=(char*)realloc((void*)string, contenth.rating_size);
stream_read(demuxer->stream, string, contenth.rating_size);
- if(verbose)
+ if(verbose>0)
print_asf_string(" Rating: ", string, contenth.rating_size);
}
mp_msg(MSGT_HEADER,MSGL_V,"\n");