From d80afafc895cc6a1ff0fdd29358ab7e3d23b8083 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 22 Feb 2015 00:46:45 +0100 Subject: [PATCH] dvbsub: disable debugging --- lib/libdvbsub/dvbsub.cpp | 4 ++-- lib/libdvbsub/dvbsubtitle.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libdvbsub/dvbsub.cpp b/lib/libdvbsub/dvbsub.cpp index 66eeb386d..dfcf285c8 100644 --- a/lib/libdvbsub/dvbsub.cpp +++ b/lib/libdvbsub/dvbsub.cpp @@ -52,7 +52,7 @@ static void clear_queue(); int dvbsub_init() { int trc; - sub_debug.set_level(3); + sub_debug.set_level(2); reader_running = true; dvbsub_stopped = 1; @@ -105,8 +105,8 @@ int dvbsub_start(int pid) pid_change_req = 1; } } -printf("[dvb-sub] ***************************************** start, stopped %d pid %x\n", dvbsub_stopped, dvbsub_pid); #if 0 +printf("[dvb-sub] ***************************************** start, stopped %d pid %x\n", dvbsub_stopped, dvbsub_pid); while(!dvbsub_stopped) usleep(10); #endif diff --git a/lib/libdvbsub/dvbsubtitle.cpp b/lib/libdvbsub/dvbsubtitle.cpp index dd2d119b6..279145eec 100644 --- a/lib/libdvbsub/dvbsubtitle.cpp +++ b/lib/libdvbsub/dvbsubtitle.cpp @@ -26,7 +26,7 @@ extern "C" { #include "Debug.hpp" // Set these to 'true' for debug output: -static bool DebugConverter = true; +static bool DebugConverter = false; #define dbgconverter(a...) if (DebugConverter) sub_debug.print(Debug::VERBOSE, a)