mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
testing dvb subtitles
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@128 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -243,7 +243,7 @@ void* reader_thread(void * /*arg*/)
|
||||
}
|
||||
}
|
||||
if(!dvbsub_paused) {
|
||||
sub_debug.print(Debug::VERBOSE, "[subtitles] adding packet, len %d\n", count);
|
||||
sub_debug.print(Debug::VERBOSE, "[subtitles] adding packet, len %d buf 0x%x\n", count, buf);
|
||||
/* Packet now in memory */
|
||||
packet_queue.push(buf);
|
||||
/* TODO: allocation exception */
|
||||
@@ -324,11 +324,10 @@ void* dvbsub_thread(void* /*arg*/)
|
||||
#endif
|
||||
sub_debug.print(Debug::VERBOSE, "PES: Wakeup, queue size %d\n\n", packet_queue.size());
|
||||
if(dvbsub_paused) {
|
||||
do {
|
||||
while(packet_queue.size()) {
|
||||
packet = packet_queue.pop();
|
||||
if(packet)
|
||||
delete[] packet;
|
||||
} while(packet);
|
||||
delete[] packet;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
packet = packet_queue.pop();
|
||||
|
Reference in New Issue
Block a user