mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +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
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