summaryrefslogtreecommitdiff
path: root/filter.c
diff options
context:
space:
mode:
authorHolger Steinhaus <hsteinhaus@gmx.de>2015-11-12 11:17:32 +0100
committerHolger Steinhaus <hsteinhaus@gmx.de>2015-11-17 12:51:36 +0100
commitae4c4e5e8ccb8042b4fd97cbc70d91880ae4b7ab (patch)
treebc6e9d9c71f1db2e7dc203e9fab41ee30d0277ab /filter.c
parent23f2217e765e14ad2c2a4192d8c57839d657ac6b (diff)
downloadvdr-plugin-mcli-ae4c4e5e8ccb8042b4fd97cbc70d91880ae4b7ab.tar.gz
vdr-plugin-mcli-ae4c4e5e8ccb8042b4fd97cbc70d91880ae4b7ab.tar.bz2
disabled debug logging, ensured that all debug logging only active if one of the DEBUG_* is defined
Diffstat (limited to 'filter.c')
-rw-r--r--filter.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/filter.c b/filter.c
index fdcbe7a..cee4e5c 100644
--- a/filter.c
+++ b/filter.c
@@ -160,7 +160,9 @@ bool cMcliFilter::PutSection (const uchar * Data, int Length, bool Pusi)
}
if (m_Used > length) {
+#ifdef DEBUG_FILTER
dsyslog ("cMcliFilter::PutSection: m_Used > length ! Pid %2d, Tid%2d " "(len %3d, got %d/%d)", m_Pid, m_Tid, Length, m_Used, length);
+#endif
if (Length < TS_SIZE - 5) {
// TS packet not full -> this must be last TS packet of section data -> safe to reset now
Reset ();
@@ -428,7 +430,9 @@ void cMcliFilters::Action (void)
}
}
DELETENULL (m_PB);
+#ifdef DEBUG_FILTER
dsyslog ("McliFilters::Action() ended");
+#endif
}
void cMcliFilters::ProcessChunk(u_short pid, const uchar *block, int len, bool Pusi) {