diff options
author | phintuka <phintuka> | 2009-06-29 15:47:00 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2009-06-29 15:47:00 +0000 |
commit | 6a64a6b9a802fc4b3089c93fef84b450cad26045 (patch) | |
tree | 34eb4e3a6ed11f89d4e8e622906cb42fd66aa115 | |
parent | 7b59788524368bccbd16261df8c06225bdebae04 (diff) | |
download | xineliboutput-6a64a6b9a802fc4b3089c93fef84b450cad26045.tar.gz xineliboutput-6a64a6b9a802fc4b3089c93fef84b450cad26045.tar.bz2 |
Added logging macros
Reduced PMT logging.
-rw-r--r-- | tools/ts.c | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -4,10 +4,13 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: ts.c,v 1.7 2009-06-27 17:41:40 phintuka Exp $ + * $Id: ts.c,v 1.8 2009-06-29 15:47:00 phintuka Exp $ * */ +/*#define LOG_PCR*/ +/*#define LOG_PMT*/ + #include <inttypes.h> #include <stdlib.h> #include <string.h> @@ -22,8 +25,16 @@ #include "ts.h" #include "pes.h" -#ifndef LOGPMT +#ifdef LOG_PMT # define LOGPMT LOGMSG +#else +# define LOGPMT(x...) +#endif + +#ifdef LOG_PCR +# define LOGPCR LOGMSG +#else +# define LOGPCR(x...) #endif |