Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/zapit/src/capmt.cpp b/src/zapit/src/capmt.cpp
- index cf0fb28..c454dc9 100644
- --- a/src/zapit/src/capmt.cpp
- +++ b/src/zapit/src/capmt.cpp
- @@ -307,6 +307,16 @@ bool CCamManager::SetMode(t_channel_id channel_id, enum runmode mode, bool start
- INFO("\033[33m socket only\033[0m");
- cam->makeCaPmt(channel, true);
- cam->setCaPmt(true);
- +#if ! HAVE_COOL_HARDWARE
- + // CI
- + CaIdVector caids;
- + cCA::GetInstance()->GetCAIDS(caids);
- + uint8_t list = CCam::CAPMT_ONLY;
- + cam->makeCaPmt(channel, false, list, caids);
- + int len;
- + unsigned char * buffer = channel->getRawPmt(len);
- + cam->sendCaPmt(channel->getChannelID(), buffer, len, CA_SLOT_TYPE_CI, channel->scrambled, channel->camap, mode, start);
- +#endif
- }
- }
- #if ! HAVE_COOL_HARDWARE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement