mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
Revert "capmt.cpp: enable CI for recording only if necessary"
This reverts commit7d117a62de
. Origin commit data ------------------ Branch: ni/coolstream Commit:4e15906d78
Author: vanhofen <vanhofen@gmx.de> Date: 2019-04-17 (Wed, 17 Apr 2019) ------------------ This commit was generated by Migit
This commit is contained in:
@@ -325,13 +325,7 @@ bool CCamManager::SetMode(t_channel_id channel_id, enum runmode mode, bool start
|
|||||||
cam->makeCaPmt(channel, false, list, caids);
|
cam->makeCaPmt(channel, false, list, caids);
|
||||||
int len;
|
int len;
|
||||||
unsigned char * buffer = channel->getRawPmt(len);
|
unsigned char * buffer = channel->getRawPmt(len);
|
||||||
if(!filter_channels || !channel->bUseCI) {
|
cam->sendCaPmt(channel->getChannelID(), buffer, len, CA_SLOT_TYPE_CI, channel->scrambled, channel->camap, mode, start);
|
||||||
//no CI needed
|
|
||||||
ca_map_t no_camap = std::set<int>();
|
|
||||||
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);
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
cam->sendCaPmt(channel->getChannelID(), NULL, 0, CA_SLOT_TYPE_CI, channel->scrambled, channel->camap, mode, start);
|
cam->sendCaPmt(channel->getChannelID(), NULL, 0, CA_SLOT_TYPE_CI, channel->scrambled, channel->camap, mode, start);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user