mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-10 07:08:28 +02:00
Revert "fix standby streaming"
This reverts commit40b42886ef
. Origin commit data ------------------ Commit:46846cd7f5
Author: vanhofen <vanhofen@gmx.de> Date: 2022-10-05 (Wed, 05 Oct 2022)
This commit is contained in:
@@ -640,12 +640,13 @@ 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