mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-07 05:38:28 +02:00
eitd/SIsections.cpp: ifdef TOT descriptor dump
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1dbd07a149
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-03-13 (Tue, 13 Mar 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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 */
|
/* 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. */
|
/* found on transponders which also have wrong time in TDT etc, so don't trust it. */
|
||||||
parsed = true;
|
parsed = true;
|
||||||
|
#ifdef DEBUG_TOT
|
||||||
const LocalTimeOffsetDescriptor * d = (LocalTimeOffsetDescriptor*) *dit;
|
const LocalTimeOffsetDescriptor * d = (LocalTimeOffsetDescriptor*) *dit;
|
||||||
const LocalTimeOffsetList * oflist = d->getLocalTimeOffsets();
|
const LocalTimeOffsetList * oflist = d->getLocalTimeOffsets();
|
||||||
for (LocalTimeOffsetConstIterator it = oflist->begin(); it != oflist->end(); ++it) {
|
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->getCountryCode().c_str(), of->getCountryRegionId(), of->getLocalTimeOffsetPolarity(),
|
||||||
of->getLocalTimeOffset(), of->getNextTimeOffset(), ctime(&change_time));
|
of->getLocalTimeOffset(), of->getNextTimeOffset(), ctime(&change_time));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
xprintf("SIsectionTIME::parse: unhandled descriptor %02x\n", dtype);
|
xprintf("SIsectionTIME::parse: unhandled descriptor %02x\n", dtype);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user