From 678a70ac541b56695b446b3e632c098205b86b15 Mon Sep 17 00:00:00 2001 From: FlatTV Date: Sun, 4 Dec 2016 12:00:08 +0100 Subject: [PATCH] capmt.cpp: Allow to disable the NI CI-Record workaround if option "usable CI channel while recording" set to "all channels" Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/9880736d45d67e4ee4e32df45816e8292d619734 Author: FlatTV Date: 2016-12-04 (Sun, 04 Dec 2016) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/zapit/src/capmt.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/zapit/src/capmt.cpp b/src/zapit/src/capmt.cpp index 3e1849386..defc69650 100644 --- a/src/zapit/src/capmt.cpp +++ b/src/zapit/src/capmt.cpp @@ -34,6 +34,8 @@ #include #include +#include //NI + //#define DEBUG_CAPMT CCam::CCam() @@ -293,7 +295,8 @@ bool CCamManager::SetMode(t_channel_id channel_id, enum runmode mode, bool start //NI #ifdef BOXMODEL_APOLLO - if(mode) { + // disable if option "usable CI channel while recording" set to "all channels" + if(mode && g_settings.ci_mode != 0 /*all channels*/) { if(start) { if ((tunerno >= 0 && tunerno == cDemux::GetSource(cam->getSource())) || (filter_channels && channel->bUseCI)) { rmode = true;