libdvbsub: hacks to try to improve the situation on TD

those don't really help yet, unfortunately
This commit is contained in:
Stefan Seyfried
2011-02-27 12:32:32 +01:00
parent 7828eeb103
commit ae38a828f0
2 changed files with 26 additions and 17 deletions

View File

@@ -249,7 +249,7 @@ static void* reader_thread(void * /*arg*/)
uint8_t* buf;
dmx = new cDemux(0);
dmx->Open(DMX_PES_CHANNEL, NULL, 64*1024);
dmx->Open(DMX_PES_CHANNEL, NULL, 16*1024);
while (reader_running) {
if(dvbsub_stopped /*dvbsub_paused*/) {
@@ -377,7 +377,7 @@ static void* dvbsub_thread(void* /*arg*/)
if(packet_queue.size() == 0) {
continue;
}
sub_debug.print(Debug::VERBOSE, "PES: Wakeup, queue size %d\n\n", packet_queue.size());
sub_debug.print(Debug::VERBOSE, "PES: Wakeup, queue size %d\n", packet_queue.size());
if(dvbsub_stopped /*dvbsub_paused*/) {
clear_queue();
continue;