From 12c888b2d8847ed42430b7bb0ec16e1acbb9dd20 Mon Sep 17 00:00:00 2001 From: FlatTV Date: Tue, 23 Jan 2018 17:38:42 +0100 Subject: [PATCH] capmt.cpp: debug mp variable Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/1a90bc923c04a494acea5455adc3531f1d37b580 Author: FlatTV Date: 2018-01-23 (Tue, 23 Jan 2018) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/zapit/src/capmt.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/zapit/src/capmt.cpp b/src/zapit/src/capmt.cpp index e171734a0..be094e3cc 100644 --- a/src/zapit/src/capmt.cpp +++ b/src/zapit/src/capmt.cpp @@ -280,8 +280,8 @@ bool CCamManager::SetMode(t_channel_id channel_id, enum runmode mode, bool start if(cam->getSource() > 0) source = cam->getSource(); - INFO("channel %" PRIx64 " [%s] mode %d %s src %d mask %d -> %d update %d rmode %d", channel_id, channel->getName().c_str(), - mode, start ? "START" : "STOP", source, oldmask, newmask, force_update, rmode); + INFO("channel %" PRIx64 " [%s] mode %d %s src %d mask %d -> %d update %d rmode %d mp %d", channel_id, channel->getName().c_str(), + mode, start ? "START" : "STOP", source, oldmask, newmask, force_update, rmode, mp); //INFO("source %d old mask %d new mask %d force update %s", source, oldmask, newmask, force_update ? "yes" : "no"); #if ! HAVE_COOL_HARDWARE @@ -349,9 +349,10 @@ bool CCamManager::SetMode(t_channel_id channel_id, enum runmode mode, bool start INFO("\033[33m HACK: disabling TS\033[0m"); cCA::GetInstance()->SetTS(CA_DVBCI_TS_INPUT_DISABLED); } - mp = false; #endif #else + mp = false; + /* don't use StopCam() here: ci-cam needs the real mode stop */ cam->sendCaPmt(channel->getChannelID(), NULL, 0, CA_SLOT_TYPE_CI, channel->scrambled, channel->camap, mode, start); cam->sendMessage(NULL, 0, false);