diff --git a/lib/libdvbsub/dvbsub.cpp b/lib/libdvbsub/dvbsub.cpp index b24ee9661..f86f255fd 100644 --- a/lib/libdvbsub/dvbsub.cpp +++ b/lib/libdvbsub/dvbsub.cpp @@ -249,8 +249,11 @@ static void* reader_thread(void * /*arg*/) uint8_t* buf; dmx = new cDemux(0); - dmx->Open(DMX_PES_CHANNEL, NULL, 16*1024); - +#if HAVE_TRIPLEDRAGON + dmx->Open(DMX_PES_CHANNEL, NULL, 16*1024); +#else + dmx->Open(DMX_PES_CHANNEL, NULL, 64*1024); +#endif while (reader_running) { if(dvbsub_stopped /*dvbsub_paused*/) { sub_debug.print(Debug::VERBOSE, "%s stopped\n", __FUNCTION__); diff --git a/lib/libdvbsub/dvbsubtitle.cpp b/lib/libdvbsub/dvbsubtitle.cpp index e3bb16a8c..2997e6a6c 100644 --- a/lib/libdvbsub/dvbsubtitle.cpp +++ b/lib/libdvbsub/dvbsubtitle.cpp @@ -300,8 +300,10 @@ void dvbsub_get_stc(int64_t * STC); int cDvbSubtitleConverter::Action(void) { int WaitMs = WAITMS; +#if 0 retry: bool shown = false; +#endif if (!running) return 0; @@ -332,7 +334,7 @@ dbgconverter("cDvbSubtitleConverter::Action: PTS: %012llx STC: %012llx (%lld) ti if(sb->Count()) WaitMs = MIN_DISPLAY_TIME; bitmaps->Del(sb, true); - shown = true; +// shown = true; } else if (Delta < WaitMs) WaitMs = (Delta > SHOW_DELTA) ? Delta - SHOW_DELTA : Delta; @@ -350,9 +352,10 @@ dbgconverter("cDvbSubtitleConverter::Action: PTS: %012llx STC: %012llx (%lld) ti } } Unlock(); +#if 0 if (shown) goto retry; - +#endif if(WaitMs != WAITMS) dbgconverter("cDvbSubtitleConverter::Action: finish, WaitMs %d\n", WaitMs);