From e01e9d468b82ba74128c53209c007fab7161f370 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Fri, 30 Sep 2022 08:20:41 +0200 Subject: [PATCH] fix standby streaming Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/807835ef43bfd20572562308e392a68df53d1773 Author: TangoCash Date: 2022-09-30 (Fri, 30 Sep 2022) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/streamts.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/driver/streamts.cpp b/src/driver/streamts.cpp index 6a2a23460..0b75f21fb 100644 --- a/src/driver/streamts.cpp +++ b/src/driver/streamts.cpp @@ -640,13 +640,12 @@ void CStreamManager::run() continue; } + g_RCInput->postMsg(NeutrinoMessages::EVT_STREAM_START, 0); if (!AddClient(connfd)) { close(connfd); g_RCInput->postMsg(NeutrinoMessages::EVT_STREAM_STOP, 0); } - else - g_RCInput->postMsg(NeutrinoMessages::EVT_STREAM_START, 0); poll_timeout = 1000; } else { if (pfd[i].revents & (POLLHUP | POLLRDHUP)) {