From 6a64a6b9a802fc4b3089c93fef84b450cad26045 Mon Sep 17 00:00:00 2001 From: phintuka Date: Mon, 29 Jun 2009 15:47:00 +0000 Subject: Added logging macros Reduced PMT logging. --- tools/ts.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'tools/ts.c') diff --git a/tools/ts.c b/tools/ts.c index 7954398c..58a89366 100644 --- a/tools/ts.c +++ b/tools/ts.c @@ -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 #include #include @@ -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 -- cgit v1.2.3