summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
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 /libmpcodecs
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 'libmpcodecs')
-rw-r--r--libmpcodecs/ad_acm.c5
-rw-r--r--libmpcodecs/dec_audio.c2
-rw-r--r--libmpcodecs/dec_video.c2
-rw-r--r--libmpcodecs/vd_vfw.c4
4 files changed, 4 insertions, 9 deletions
diff --git a/libmpcodecs/ad_acm.c b/libmpcodecs/ad_acm.c
index 29cfe412c3..32ee3798ac 100644
--- a/libmpcodecs/ad_acm.c
+++ b/libmpcodecs/ad_acm.c
@@ -71,7 +71,7 @@ static int preinit(sh_audio_t *sh_audio)
// priv->o_wf->wBitsPerSample = inf_fmt->wBitsPerSample;
priv->o_wf->cbSize = 0;
- if (verbose)
+ if (verbose>0)
{
mp_msg(MSGT_DECAUDIO, MSGL_V, "Input format:\n");
print_wave_header(in_fmt);
@@ -219,8 +219,7 @@ static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int m
}
// return -1;
}
- if(verbose>1)
- mp_msg(MSGT_WIN32,MSGL_DBG2,"acm converted %d -> %d\n",ash.cbSrcLengthUsed,ash.cbDstLengthUsed);
+ mp_msg(MSGT_WIN32,MSGL_DBG2,"acm converted %d -> %d\n",ash.cbSrcLengthUsed,ash.cbDstLengthUsed);
if(ash.cbSrcLengthUsed>=sh_audio->a_in_buffer_len){
sh_audio->a_in_buffer_len=0;
} else {
diff --git a/libmpcodecs/dec_audio.c b/libmpcodecs/dec_audio.c
index ba7cdcf901..df791abbf3 100644
--- a/libmpcodecs/dec_audio.c
+++ b/libmpcodecs/dec_audio.c
@@ -6,8 +6,6 @@
#include "mp_msg.h"
#include "help_mp.h"
-extern int verbose; // defined in mplayer.c
-
#include "stream.h"
#include "demuxer.h"
diff --git a/libmpcodecs/dec_video.c b/libmpcodecs/dec_video.c
index 589887a305..7af07541ee 100644
--- a/libmpcodecs/dec_video.c
+++ b/libmpcodecs/dec_video.c
@@ -14,8 +14,6 @@
#include "linux/timer.h"
#include "linux/shmem.h"
-extern int verbose; // defined in mplayer.c
-
#include "stream.h"
#include "demuxer.h"
#include "parse_es.h"
diff --git a/libmpcodecs/vd_vfw.c b/libmpcodecs/vd_vfw.c
index 1ed5e2781a..9d6e82ce6e 100644
--- a/libmpcodecs/vd_vfw.c
+++ b/libmpcodecs/vd_vfw.c
@@ -232,9 +232,9 @@ static int init(sh_video_t *sh){
set_csp(priv->o_bih,sh->codec->outfmt[sh->outfmtidx]);
mp_msg(MSGT_WIN32, MSGL_V, "Input format:\n");
- if(verbose) print_video_header(sh->bih);
+ if(verbose>0) print_video_header(sh->bih);
mp_msg(MSGT_WIN32, MSGL_V, "Output format:\n");
- if(verbose) print_video_header(priv->o_bih);
+ if(verbose>0) print_video_header(priv->o_bih);
// set postprocessing level in xvid/divx4 .dll
ICSendMessage(priv->handle, ICM_USER+80, (long)(&divx_quality), 0);