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
This commit is contained in:
seife
2011-01-30 12:34:50 +00:00
parent 695507903c
commit 40655b9b6e
2 changed files with 5 additions and 5 deletions

View File

@@ -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 */

View File

@@ -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) {