mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
src/driver/streamts.cpp try to fix send err loop
Origin commit data
------------------
Commit: ed02b4c81e
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-11 (Mon, 11 Apr 2016)
This commit is contained in:
@@ -596,7 +596,7 @@ void CStreamManager::run()
|
|||||||
printf("CStreamManager::run(): POLLHUP, fd %d\n", pfd[i].fd);
|
printf("CStreamManager::run(): POLLHUP, fd %d\n", pfd[i].fd);
|
||||||
RemoveClient(pfd[i].fd);
|
RemoveClient(pfd[i].fd);
|
||||||
if (streams.empty()) {
|
if (streams.empty()) {
|
||||||
poll_timeout = -1;
|
poll_timeout = 2000;
|
||||||
g_RCInput->postMsg(NeutrinoMessages::EVT_STREAM_STOP, 0);
|
g_RCInput->postMsg(NeutrinoMessages::EVT_STREAM_STOP, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user