[Mplayer-cvslog] CVS: main mp_msg.c,1.1,1.2 mp_msg.h,1.1,1.2

Arpi of Ize arpi at mplayer.dev.hu
Fri Aug 17 00:39:49 CEST 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv20375

Modified Files:
	mp_msg.c mp_msg.h 
Log Message:
constans shortend

Index: mp_msg.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp_msg.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mp_msg.c	16 Aug 2001 22:13:20 -0000	1.1
+++ mp_msg.c	16 Aug 2001 22:39:46 -0000	1.2
@@ -20,9 +20,11 @@
     va_list va;
     if((x&255)>mp_msg_levels[x>>8]) return; // do not display
     va_start(va, format);
-    if((x&255)<=MSGL_ERROR){
+    if((x&255)<=MSGL_ERR){
+	fprintf(stderr,"%%%%%% ");
 	vfprintf(stderr,format, va);
     } else {
+	printf("%%%%%% ");
 	vprintf(format, va);
     }
     va_end(va);

Index: mp_msg.h
===================================================================
RCS file: /cvsroot/mplayer/main/mp_msg.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mp_msg.h	16 Aug 2001 22:13:20 -0000	1.1
+++ mp_msg.h	16 Aug 2001 22:39:46 -0000	1.2
@@ -2,14 +2,14 @@
 // verbosity elevel:
 
 #define MSGL_FATAL 0  // will exit/abort
-#define MSGL_ERROR 1  // continues
+#define MSGL_ERR 1    // continues
 #define MSGL_WARN 2   // only warning
 #define MSGL_INFO 3   // -quiet
 #define MSGL_STATUS 4 // v=0
-#define MSGL_VERBOSE 5// v=1
-#define MSGL_DEBUG2 6 // v=2
-#define MSGL_DEBUG3 7 // v=3
-#define MSGL_DEBUG4 8 // v=4
+#define MSGL_V 5      // v=1
+#define MSGL_DBG2 6   // v=2
+#define MSGL_DBG3 7   // v=3
+#define MSGL_DBG4 8   // v=4
 
 // code/module:
 
@@ -23,6 +23,7 @@
 #define MSGT_DEMUXER 5    // demuxer.c (general stuff)
 #define MSGT_DS 6         // demux stream (add/read packet etc)
 #define MSGT_DEMUX 7      // fileformat-specific stuff (demux_*.c)
+#define MSGT_HEADER 8     // fileformat-specific header (*header.c)
 
 #define MSGT_MAX 64
 




More information about the MPlayer-cvslog mailing list