From 9b067269265be303837788180244c908dbee9a2d Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Wed, 17 Apr 2019 23:25:14 +0200 Subject: [PATCH] Revert "capmt.cpp: enable CI for recording only if necessary" This reverts commit 7b54b1dfb12b2e094f7932600f62d0f9ab3bbce4. Signed-off-by: Thilo Graf --- src/zapit/src/capmt.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/zapit/src/capmt.cpp b/src/zapit/src/capmt.cpp index 193ea837d..2a4239317 100644 --- a/src/zapit/src/capmt.cpp +++ b/src/zapit/src/capmt.cpp @@ -326,13 +326,7 @@ bool CCamManager::SetMode(t_channel_id channel_id, enum runmode mode, bool start cam->makeCaPmt(channel, false, list, caids); int len; unsigned char * buffer = channel->getRawPmt(len); - if(!filter_channels || !channel->bUseCI) { - //no CI needed - ca_map_t no_camap = std::set(); - cam->sendCaPmt(channel->getChannelID(), buffer, len, CA_SLOT_TYPE_CI, false /*channel->scrambled*/, no_camap /*channel->camap*/, mode, start); - } else { - cam->sendCaPmt(channel->getChannelID(), buffer, len, CA_SLOT_TYPE_CI, channel->scrambled, channel->camap, mode, start); - } + cam->sendCaPmt(channel->getChannelID(), buffer, len, CA_SLOT_TYPE_CI, channel->scrambled, channel->camap, mode, start); } else { cam->sendCaPmt(channel->getChannelID(), NULL, 0, CA_SLOT_TYPE_CI, channel->scrambled, channel->camap, mode, start); }