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: 9880736d45
Author: FlatTV <FlatTV@gmx.de>
Date: 2016-12-04 (Sun, 04 Dec 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
FlatTV
2016-12-04 12:00:08 +01:00
parent c38364ce6f
commit 678a70ac54

View File

@@ -34,6 +34,8 @@
#include <dvbsi++/program_map_section.h>
#include <dvbsi++/ca_program_map_section.h>
#include <neutrino.h> //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;