diff --git a/lib/libdvbsub/dvbsub.cpp b/lib/libdvbsub/dvbsub.cpp index 39dc0c9a8..ab27694ae 100644 --- a/lib/libdvbsub/dvbsub.cpp +++ b/lib/libdvbsub/dvbsub.cpp @@ -320,7 +320,7 @@ static void* reader_thread(void * /*arg*/) #endif if(!dvbsub_stopped /*!dvbsub_paused*/) { - sub_debug.print(Debug::VERBOSE, "[subtitles] ******************* new packet, len %d buf 0x%x pts-stc diff %lld *******************\n", count, buf, get_pts_stc_delta(get_pts(buf))); + sub_debug.print(Debug::VERBOSE, "[subtitles] *** new packet, len %d buf 0x%x pts-stc diff %lld ***\n", count, buf, get_pts_stc_delta(get_pts(buf))); /* Packet now in memory */ packet_queue.push(buf); /* TODO: allocation exception */ diff --git a/lib/libdvbsub/dvbsubtitle.cpp b/lib/libdvbsub/dvbsubtitle.cpp index d2ef0db5c..d1e760a7f 100644 --- a/lib/libdvbsub/dvbsubtitle.cpp +++ b/lib/libdvbsub/dvbsubtitle.cpp @@ -188,9 +188,9 @@ cDvbSubtitleConverter::cDvbSubtitleConverter(void) if (avcodec_open(avctx, avcodec) < 0) dbgconverter("cDvbSubtitleConverter: unable to open codec !\n"); - av_log_set_level(99); - if(DebugConverter) - av_log_set_level(AV_LOG_INFO); + av_log_set_level(AV_LOG_PANIC); + //if(DebugConverter) + // av_log_set_level(AV_LOG_INFO); min_x = CFrameBuffer::getInstance()->getScreenWidth(); min_y = CFrameBuffer::getInstance()->getScreenHeight(); @@ -318,7 +318,7 @@ int cDvbSubtitleConverter::Action(void) Delta = LimitTo32Bit(sb->Pts()) - LimitTo32Bit(STC); Delta /= 90; // STC and PTS are in 1/90000s - dbgconverter("cDvbSubtitleConverter::Action: PTS: %lld STC: %lld (%lld) timeout: %d\n", sb->Pts(), STC, Delta, sb->Timeout()); + dbgconverter("cDvbSubtitleConverter::Action: PTS: %016llx STC: %016llx (%lld) timeout: %d\n", sb->Pts(), STC, Delta, sb->Timeout()); if (Delta <= MAXDELTA) { if (Delta <= SHOW_DELTA) {