From adb7c0e6701f9aa1e7f842f94991ef929455e9a2 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 11 Apr 2016 12:48:09 +0200 Subject: [PATCH] src/driver/streamts.cpp try to fix send err loop Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/ed02b4c81eb003b4a671656888013fe86d80d866 Author: Jacek Jendrzej Date: 2016-04-11 (Mon, 11 Apr 2016) --- src/driver/streamts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/streamts.cpp b/src/driver/streamts.cpp index 6609ead9b..74379e4be 100644 --- a/src/driver/streamts.cpp +++ b/src/driver/streamts.cpp @@ -596,7 +596,7 @@ void CStreamManager::run() printf("CStreamManager::run(): POLLHUP, fd %d\n", pfd[i].fd); RemoveClient(pfd[i].fd); if (streams.empty()) { - poll_timeout = -1; + poll_timeout = 2000; g_RCInput->postMsg(NeutrinoMessages::EVT_STREAM_STOP, 0); } }