[Mplayer-cvslog] CVS: main/libmpdemux aviheader.c,1.44,1.45 stream.c,1.34,1.35

Arpi of Ize arpi at mplayerhq.hu
Mon May 20 05:25:27 CEST 2002


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

Modified Files:
	aviheader.c stream.c 
Log Message:
big cosmetics patch, cleanup of messages printed by mplayer and libs.
some printf->mp_msg conversion, and some debug messages moved from warn/info to v/dbg2
mplayer's output is now shorter, readable and consistent


Index: aviheader.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/aviheader.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- aviheader.c	12 May 2002 01:51:09 -0000	1.44
+++ aviheader.c	20 May 2002 03:25:24 -0000	1.45
@@ -156,7 +156,7 @@
       stream_read(demuxer->stream,(char*) &avih,MIN(size2,sizeof(avih)));
       le2me_MainAVIHeader(&avih); // swap to machine endian
       chunksize-=MIN(size2,sizeof(avih));
-      if(verbose) print_avih(&avih); else print_avih_flags(&avih);
+      if(verbose) print_avih(&avih); // else print_avih_flags(&avih);
       break;
     case ckidSTREAMHEADER: {      // read 'strh'
       AVIStreamHeader h;

Index: stream.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/stream.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- stream.c	5 May 2002 16:22:59 -0000	1.34
+++ stream.c	20 May 2002 03:25:24 -0000	1.35
@@ -253,7 +253,7 @@
 }
 
 void free_stream(stream_t *s){
-  printf("\n*** free_stream() called ***\n");
+//  printf("\n*** free_stream() called ***\n");
   if(s->cache_pid) {
 //    kill(s->cache_pid,SIGTERM);
     kill(s->cache_pid,SIGKILL);




More information about the MPlayer-cvslog mailing list