# HG changeset patch # User arpi # Date 998001586 0 # Node ID 0199567db5344d9979c6b73f8aa3ea65bb746e61 # Parent 2caba2f48026e4f726d72acd22411587dd66e4b0 constans shortend diff -r 2caba2f48026 -r 0199567db534 mp_msg.c --- 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); diff -r 2caba2f48026 -r 0199567db534 mp_msg.h --- 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