Advertisement
svenhoefer

Untitled

Jan 22nd, 2018
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.01 KB | None | 0 0
  1. diff --git a/src/zapit/src/capmt.cpp b/src/zapit/src/capmt.cpp
  2. index cf0fb28..c454dc9 100644
  3. --- a/src/zapit/src/capmt.cpp
  4. +++ b/src/zapit/src/capmt.cpp
  5. @@ -307,6 +307,16 @@ bool CCamManager::SetMode(t_channel_id channel_id, enum runmode mode, bool start
  6.                         INFO("\033[33m socket only\033[0m");
  7.                         cam->makeCaPmt(channel, true);
  8.                         cam->setCaPmt(true);
  9. +#if ! HAVE_COOL_HARDWARE
  10. +                       // CI
  11. +                       CaIdVector caids;
  12. +                       cCA::GetInstance()->GetCAIDS(caids);
  13. +                       uint8_t list = CCam::CAPMT_ONLY;
  14. +                       cam->makeCaPmt(channel, false, list, caids);
  15. +                       int len;
  16. +                       unsigned char * buffer = channel->getRawPmt(len);
  17. +                       cam->sendCaPmt(channel->getChannelID(), buffer, len, CA_SLOT_TYPE_CI, channel->scrambled, channel->camap, mode, start);
  18. +#endif
  19.                 }
  20.         }
  21.  #if ! HAVE_COOL_HARDWARE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement