mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
zapit/src/capmt.cpp: send channel_id in place of tpid with capmt
This commit is contained in:
@@ -238,6 +238,7 @@ bool CCamManager::SetMode(t_channel_id channel_id, enum runmode mode, bool start
|
|||||||
cam->setSource(source);
|
cam->setSource(source);
|
||||||
if(newmask == 0) {
|
if(newmask == 0) {
|
||||||
cam->sendMessage(NULL, 0, false);
|
cam->sendMessage(NULL, 0, false);
|
||||||
|
cam->sendCaPmt(channel->getChannelID(), NULL, 0);
|
||||||
} else {
|
} else {
|
||||||
cam->makeCaPmt(channel, true);
|
cam->makeCaPmt(channel, true);
|
||||||
cam->setCaPmt(true);
|
cam->setCaPmt(true);
|
||||||
@@ -273,7 +274,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);
|
||||||
cam->sendCaPmt(channel->getTransponderId(), buffer, len);
|
cam->sendCaPmt(channel->getChannelID(), buffer, len);
|
||||||
//list = CCam::CAPMT_MORE;
|
//list = CCam::CAPMT_MORE;
|
||||||
}
|
}
|
||||||
mutex.unlock();
|
mutex.unlock();
|
||||||
|
Reference in New Issue
Block a user