mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
libdvbsub: speed up exit during shutdown
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1088 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 695507903c
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:
@@ -299,7 +299,7 @@ static void* reader_thread(void * /*arg*/)
|
|||||||
|
|
||||||
memcpy(buf, tmp, 6);
|
memcpy(buf, tmp, 6);
|
||||||
/* read rest of the packet */
|
/* read rest of the packet */
|
||||||
while((count < packlen) /* && !dvbsub_paused*/) {
|
while((count < packlen) && !dvbsub_stopped) {
|
||||||
len = dmx->Read(buf+count, packlen-count, 1000);
|
len = dmx->Read(buf+count, packlen-count, 1000);
|
||||||
if (len < 0) {
|
if (len < 0) {
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user