src/driver/streamts.cpp try to fix send err loop

Origin commit data
------------------
Branch: ni/coolstream
Commit: ed02b4c81e
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-11 (Mon, 11 Apr 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2016-04-11 12:48:09 +02:00
parent d7f8c61cda
commit 9ebb6725a3

View File

@@ -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);
}
}