From ba11c68361baf1e0f7fae4d3809c2aa032730e6f Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 22 Feb 2015 00:47:41 +0100 Subject: [PATCH] sectionsd: disable debug messages Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/fd666960c11ac747fa40c0dee0ee630b4e1e9d98 Author: Stefan Seyfried Date: 2015-02-22 (Sun, 22 Feb 2015) --- src/eitd/dmx.cpp | 5 ++++- src/eitd/sectionsd.cpp | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/eitd/dmx.cpp b/src/eitd/dmx.cpp index 76f4e47a7..36a7d0f78 100644 --- a/src/eitd/dmx.cpp +++ b/src/eitd/dmx.cpp @@ -47,7 +47,8 @@ //#define DEBUG_DEMUX 1 // debug start/close/change //#define DEBUG_CACHED_SECTIONS 1 //#define DEBUG_COMPLETE_SECTIONS 1 -#define DEBUG_COMPLETE 1 +//#define DEBUG_COMPLETE 1 +//#define DEBUG_SKIP_LOOPED 1 //static MyDMXOrderUniqueKey myDMXOrderUniqueKey; @@ -460,9 +461,11 @@ int DMX::getSection(uint8_t *buf, const unsigned timeoutInMSeconds, int &timeout #endif } //debug +#ifdef DEBUG_SKIP_LOOPED if(timeouts == -1) { xcprintf(" %s: skipped looped", name.c_str()); } +#endif if(complete) { seenSections.clear(); diff --git a/src/eitd/sectionsd.cpp b/src/eitd/sectionsd.cpp index 5e812c7bf..8eac7712d 100644 --- a/src/eitd/sectionsd.cpp +++ b/src/eitd/sectionsd.cpp @@ -59,7 +59,7 @@ //#define DEBUG_SDT_THREAD //#define DEBUG_TIME_THREAD -#define DEBUG_SECTION_THREADS +//#define DEBUG_SECTION_THREADS //#define DEBUG_CN_THREAD /*static*/ bool reader_ready = true;