libdvbsub: tone down debug output, shut up libavcodec

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1089 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 40655b9b6e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-01-30 (Sun, 30 Jan 2011)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2011-01-30 12:34:50 +00:00
parent b35d62e255
commit 38279d3293
2 changed files with 5 additions and 5 deletions

View File

@@ -320,7 +320,7 @@ static void* reader_thread(void * /*arg*/)
#endif #endif
if(!dvbsub_stopped /*!dvbsub_paused*/) { 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 now in memory */
packet_queue.push(buf); packet_queue.push(buf);
/* TODO: allocation exception */ /* TODO: allocation exception */

View File

@@ -188,9 +188,9 @@ cDvbSubtitleConverter::cDvbSubtitleConverter(void)
if (avcodec_open(avctx, avcodec) < 0) if (avcodec_open(avctx, avcodec) < 0)
dbgconverter("cDvbSubtitleConverter: unable to open codec !\n"); dbgconverter("cDvbSubtitleConverter: unable to open codec !\n");
av_log_set_level(99); av_log_set_level(AV_LOG_PANIC);
if(DebugConverter) //if(DebugConverter)
av_log_set_level(AV_LOG_INFO); // av_log_set_level(AV_LOG_INFO);
min_x = CFrameBuffer::getInstance()->getScreenWidth(); min_x = CFrameBuffer::getInstance()->getScreenWidth();
min_y = CFrameBuffer::getInstance()->getScreenHeight(); min_y = CFrameBuffer::getInstance()->getScreenHeight();
@@ -318,7 +318,7 @@ int cDvbSubtitleConverter::Action(void)
Delta = LimitTo32Bit(sb->Pts()) - LimitTo32Bit(STC); Delta = LimitTo32Bit(sb->Pts()) - LimitTo32Bit(STC);
Delta /= 90; // STC and PTS are in 1/90000s 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 <= MAXDELTA) {
if (Delta <= SHOW_DELTA) { if (Delta <= SHOW_DELTA) {