mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
fix standby streaming
Origin commit data
------------------
Branch: ni/coolstream
Commit: 807835ef43
Author: TangoCash <eric@loxat.de>
Date: 2022-09-30 (Fri, 30 Sep 2022)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -640,13 +640,12 @@ void CStreamManager::run()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_RCInput->postMsg(NeutrinoMessages::EVT_STREAM_START, 0);
|
||||||
if (!AddClient(connfd))
|
if (!AddClient(connfd))
|
||||||
{
|
{
|
||||||
close(connfd);
|
close(connfd);
|
||||||
g_RCInput->postMsg(NeutrinoMessages::EVT_STREAM_STOP, 0);
|
g_RCInput->postMsg(NeutrinoMessages::EVT_STREAM_STOP, 0);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
g_RCInput->postMsg(NeutrinoMessages::EVT_STREAM_START, 0);
|
|
||||||
poll_timeout = 1000;
|
poll_timeout = 1000;
|
||||||
} else {
|
} else {
|
||||||
if (pfd[i].revents & (POLLHUP | POLLRDHUP)) {
|
if (pfd[i].revents & (POLLHUP | POLLRDHUP)) {
|
||||||
|
Reference in New Issue
Block a user