summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/ts.c15
1 files changed, 13 insertions, 2 deletions
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 <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