From dce69fd14a54608c8c8be07e8171e0de994061fc Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 5 Oct 2022 21:48:04 +0200 Subject: [PATCH] streamts: add missing brackets Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/193c5aa41d76f4a9908225de48843b003df338c3 Author: vanhofen Date: 2022-10-05 (Wed, 05 Oct 2022) Origin message was: ------------------ - streamts: add missing brackets --- src/driver/streamts.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/driver/streamts.cpp b/src/driver/streamts.cpp index 882152dcc..6a4b2f69c 100644 --- a/src/driver/streamts.cpp +++ b/src/driver/streamts.cpp @@ -196,8 +196,10 @@ void CStreamInstance::run() dmx->Start(true); if (is_e2_stream) + { if (g_settings.streaming_decryptmode) CCamManager::getInstance()->Start(channel_id, CCamManager::STREAM); + } else CCamManager::getInstance()->Start(channel_id, CCamManager::STREAM); @@ -216,8 +218,10 @@ void CStreamInstance::run() } if (is_e2_stream) + { if (g_settings.streaming_decryptmode) CCamManager::getInstance()->Stop(channel_id, CCamManager::STREAM); + } else CCamManager::getInstance()->Stop(channel_id, CCamManager::STREAM); @@ -528,8 +532,8 @@ void CStreamManager::PreparePids(CZapitChannel *channel, stream_pids_t &pids, bo { for(casys_pids_iterator_t it = channel->capids.begin(); it != channel->capids.end(); ++it) { - pids.insert((*it)); //all ECM Pids - printf("CStreamManager::PreparePids: capid 0x%04x \n", (*it)); + pids.insert((*it)); //all ECM Pids + printf("CStreamManager::PreparePids: capid 0x%04x \n", (*it)); } }