changeset 1563:0199567db534

constans shortend
author arpi
date Thu, 16 Aug 2001 22:39:46 +0000
parents 2caba2f48026
children 9fa2a290fa99
files mp_msg.c mp_msg.h
diffstat 2 files changed, 9 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mp_msg.c	Thu Aug 16 22:13:20 2001 +0000
+++ b/mp_msg.c	Thu Aug 16 22:39:46 2001 +0000
@@ -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);
--- a/mp_msg.h	Thu Aug 16 22:13:20 2001 +0000
+++ b/mp_msg.h	Thu Aug 16 22:39:46 2001 +0000
@@ -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