From a22dc19e9dfaf462118fe89e654206c6b74355f5 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 8 Mar 2013 17:31:54 +0400 Subject: [PATCH] zapit/src/capmt.cpp: send channel_id in place of tpid with capmt --- src/zapit/src/capmt.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/zapit/src/capmt.cpp b/src/zapit/src/capmt.cpp index e9ee7a1c9..34a5d40d3 100644 --- a/src/zapit/src/capmt.cpp +++ b/src/zapit/src/capmt.cpp @@ -238,6 +238,7 @@ bool CCamManager::SetMode(t_channel_id channel_id, enum runmode mode, bool start cam->setSource(source); if(newmask == 0) { cam->sendMessage(NULL, 0, false); + cam->sendCaPmt(channel->getChannelID(), NULL, 0); } else { cam->makeCaPmt(channel, 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); int len; unsigned char * buffer = channel->getRawPmt(len); - cam->sendCaPmt(channel->getTransponderId(), buffer, len); + cam->sendCaPmt(channel->getChannelID(), buffer, len); //list = CCam::CAPMT_MORE; } mutex.unlock();