summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-10 18:44:38 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-10 18:44:38 +0000
commit83b94fd63e3da40b3d9990254c081a554ac70a4c (patch)
tree645ca080007a509999fd8e6695af12bb204e5597
parent962b13e7b3baa5fc4bb549b6132f0d2e2d2aca72 (diff)
downloadmpv-83b94fd63e3da40b3d9990254c081a554ac70a4c.tar.bz2
mpv-83b94fd63e3da40b3d9990254c081a554ac70a4c.tar.xz
debug printfs moved to -v
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@755 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--dec_audio.c4
-rw-r--r--dll_init.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/dec_audio.c b/dec_audio.c
index 1e74d20122..6dc8033fab 100644
--- a/dec_audio.c
+++ b/dec_audio.c
@@ -285,8 +285,8 @@ int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen){
}
DS_AudioDecoder_Convert(sh_audio->a_in_buffer,sh_audio->a_in_buffer_len,
buf,maxlen, &size_in,&size_out);
- //if(verbose>2)
- printf("DShow: audio %d -> %d converted (in_buf_len=%d of %d) %d\n",size_in,size_out,sh_audio->a_in_buffer_len,sh_audio->a_in_buffer_size,ds_tell_pts(sh_audio->ds));
+ if(verbose)
+ printf("DShow: audio %d -> %d converted (in_buf_len=%d of %d) %d\n",size_in,size_out,sh_audio->a_in_buffer_len,sh_audio->a_in_buffer_size,ds_tell_pts(sh_audio->ds));
if(size_in>=sh_audio->a_in_buffer_len){
sh_audio->a_in_buffer_len=0;
} else {
diff --git a/dll_init.c b/dll_init.c
index 3f3a02eb9a..de36071786 100644
--- a/dll_init.c
+++ b/dll_init.c
@@ -111,8 +111,8 @@ int acm_decode_audio(sh_audio_t *sh_audio, void* a_buffer,int len){
// return -1;
}
- //if(verbose>=3)
- printf("acm converted %d -> %d\n",ash.cbSrcLengthUsed,ash.cbDstLengthUsed);
+ if(verbose)
+ printf("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 {