From 38d6ea4cda4da4a131a59aefa5851a44e8f6a3e0 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Tue, 7 Nov 2017 16:36:15 +0100 Subject: [PATCH] src/zapit/src/capmt.cpp dont stop decoding if record stops, this break overlapped record on cst Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/472cc578fe639be2dfff4348694dd7ab514481db Author: Jacek Jendrzej Date: 2017-11-07 (Tue, 07 Nov 2017) --- src/zapit/src/capmt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zapit/src/capmt.cpp b/src/zapit/src/capmt.cpp index c4e28b155..aae38bc03 100644 --- a/src/zapit/src/capmt.cpp +++ b/src/zapit/src/capmt.cpp @@ -283,14 +283,14 @@ bool CCamManager::SetMode(t_channel_id channel_id, enum runmode mode, bool start mode, start ? "START" : "STOP", source, oldmask, newmask, force_update); //INFO("source %d old mask %d new mask %d force update %s", source, oldmask, newmask, force_update ? "yes" : "no"); - +#if ! HAVE_COOL_HARDWARE /* stop decoding if record stops unless it's the live channel. TODO:PIP? */ if (mode == RECORD && start == false && source != cDemux::GetSource(0)) { INFO("MODE!=record(%d) start=false, src %d getsrc %d", mode, source, cDemux::GetSource(0)); cam->sendMessage(NULL, 0, false); cam->sendCaPmt(channel->getChannelID(), NULL, 0, CA_SLOT_TYPE_ALL); } - +#endif if((oldmask != newmask) || force_update) { cam->setCaMask(newmask); cam->setSource(source);