[Mplayer-cvslog] CVS: main/libmpcodecs ad_acm.c,1.8,1.9 dec_audio.c,1.16,1.17 dec_video.c,1.152,1.153 vd_vfw.c,1.23,1.24

Arpi of Ize arpi at mplayerhq.hu
Fri Nov 1 18:47:16 CET 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv20982/libmpcodecs

Modified Files:
	ad_acm.c dec_audio.c dec_video.c vd_vfw.c 
Log Message:
verbose can be negative


Index: ad_acm.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_acm.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ad_acm.c	22 Sep 2002 00:43:13 -0000	1.8
+++ ad_acm.c	1 Nov 2002 17:46:43 -0000	1.9
@@ -71,7 +71,7 @@
 //    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 @@
       }
 //      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 {

Index: dec_audio.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/dec_audio.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- dec_audio.c	8 Oct 2002 22:55:55 -0000	1.16
+++ dec_audio.c	1 Nov 2002 17:46:43 -0000	1.17
@@ -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"
 

Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/dec_video.c,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -r1.152 -r1.153
--- dec_video.c	26 Sep 2002 01:31:18 -0000	1.152
+++ dec_video.c	1 Nov 2002 17:46:43 -0000	1.153
@@ -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"

Index: vd_vfw.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_vfw.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- vd_vfw.c	19 Oct 2002 00:57:44 -0000	1.23
+++ vd_vfw.c	1 Nov 2002 17:46:43 -0000	1.24
@@ -232,9 +232,9 @@
 	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);




More information about the MPlayer-cvslog mailing list