mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
change ca->SendPMT() from DEMUX_SOURCE_2 to channel->getRecordDemux()
This commit is contained in:
@@ -195,7 +195,7 @@ record_error_msg_t CRecordInstance::Start(CZapitChannel * channel /*, APIDList &
|
||||
int len;
|
||||
unsigned char * pmt = channel->getRawPmt(len);
|
||||
cCA * ca = cCA::GetInstance();
|
||||
ca->SendPMT(DEMUX_SOURCE_2, pmt, len);
|
||||
ca->SendPMT(channel->getRecordDemux() /*DEMUX_SOURCE_2*/, pmt, len);
|
||||
|
||||
//CVFD::getInstance()->ShowIcon(VFD_ICON_CAM1, true);
|
||||
WaitRecMsg(msg_start_time, 2);
|
||||
|
@@ -692,7 +692,10 @@ void CZapit::SetRecordMode(bool enable)
|
||||
} else {
|
||||
currentMode &= ~RECORD_MODE;
|
||||
|
||||
ca->SendPMT(DEMUX_SOURCE_2, (unsigned char*) "", 0, CA_SLOT_TYPE_SMARTCARD);
|
||||
int demux = 2;
|
||||
if(current_channel)
|
||||
demux = current_channel->getRecordDemux();
|
||||
ca->SendPMT(demux /*DEMUX_SOURCE_2*/, (unsigned char*) "", 0, CA_SLOT_TYPE_SMARTCARD);
|
||||
event = CZapitClient::EVT_RECORDMODE_DEACTIVATED;
|
||||
}
|
||||
SendEvent(event);
|
||||
|
Reference in New Issue
Block a user