From b659b653216d607f01b37dbafdf540d435840c4d Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 13 Mar 2012 12:38:11 +0400 Subject: [PATCH] eitd/SIsections.cpp: ifdef TOT descriptor dump Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/1dbd07a14994c217151ab0819b785832aec412fc Author: [CST] Focus Date: 2012-03-13 (Tue, 13 Mar 2012) --- src/eitd/SIsections.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/eitd/SIsections.cpp b/src/eitd/SIsections.cpp index 5761aa29f..de34a976a 100644 --- a/src/eitd/SIsections.cpp +++ b/src/eitd/SIsections.cpp @@ -139,7 +139,7 @@ void SIsectionTIME::parse(uint8_t *buf) /* TOT without descriptors seems to be not better than a plain TDT, such TOT's are */ /* found on transponders which also have wrong time in TDT etc, so don't trust it. */ parsed = true; - +#ifdef DEBUG_TOT const LocalTimeOffsetDescriptor * d = (LocalTimeOffsetDescriptor*) *dit; const LocalTimeOffsetList * oflist = d->getLocalTimeOffsets(); for (LocalTimeOffsetConstIterator it = oflist->begin(); it != oflist->end(); ++it) { @@ -149,6 +149,7 @@ void SIsectionTIME::parse(uint8_t *buf) of->getCountryCode().c_str(), of->getCountryRegionId(), of->getLocalTimeOffsetPolarity(), of->getLocalTimeOffset(), of->getNextTimeOffset(), ctime(&change_time)); } +#endif } else { xprintf("SIsectionTIME::parse: unhandled descriptor %02x\n", dtype); }