mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
neutrino: add EVT_BACK_ZAP_COMPLETE event for background epg scan zap
Origin commit data
------------------
Branch: ni/coolstream
Commit: f210a8c048
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-08-12 (Mon, 12 Aug 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1054,6 +1054,10 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6
|
||||
*msg = NeutrinoMessages::EVT_TUNE_COMPLETE;
|
||||
*data = (neutrino_msg_data_t) p;
|
||||
break;
|
||||
case CZapitClient::EVT_BACK_ZAP_COMPLETE:
|
||||
*msg = NeutrinoMessages::EVT_BACK_ZAP_COMPLETE;
|
||||
*data = (neutrino_msg_data_t) p;
|
||||
break;
|
||||
default:
|
||||
printf("[neutrino] event INITID_ZAPIT - unknown eventID 0x%x\n", emsg.eventID );
|
||||
}
|
||||
|
@@ -1636,7 +1636,7 @@ void CNeutrinoApp::InitTimerdClient()
|
||||
void CNeutrinoApp::InitZapitClient()
|
||||
{
|
||||
g_Zapit = new CZapitClient;
|
||||
#define ZAPIT_EVENT_COUNT 27
|
||||
#define ZAPIT_EVENT_COUNT 28
|
||||
const CZapitClient::events zapit_event[ZAPIT_EVENT_COUNT] =
|
||||
{
|
||||
CZapitClient::EVT_ZAP_COMPLETE,
|
||||
@@ -1666,6 +1666,7 @@ void CNeutrinoApp::InitZapitClient()
|
||||
CZapitClient::EVT_SDT_CHANGED,
|
||||
CZapitClient::EVT_PMT_CHANGED,
|
||||
CZapitClient::EVT_TUNE_COMPLETE,
|
||||
CZapitClient::EVT_BACK_ZAP_COMPLETE
|
||||
};
|
||||
|
||||
for (int i = 0; i < ZAPIT_EVENT_COUNT; i++)
|
||||
@@ -2313,7 +2314,7 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data)
|
||||
return messages_return::handled;
|
||||
}
|
||||
}
|
||||
if ((msg == NeutrinoMessages::EVT_EIT_COMPLETE)) {
|
||||
if ((msg == NeutrinoMessages::EVT_EIT_COMPLETE || msg == NeutrinoMessages::EVT_BACK_ZAP_COMPLETE)) {
|
||||
CEpgScan::getInstance()->handleMsg(msg, data);
|
||||
return messages_return::handled;
|
||||
}
|
||||
|
@@ -150,6 +150,7 @@ struct NeutrinoMessages {
|
||||
EVT_RECORDING_ENDED = CRCInput::RC_WithData + 23,
|
||||
/* sectionsd */
|
||||
EVT_EIT_COMPLETE = CRCInput::RC_WithData + 24, /* data: (t_channel_id *) */
|
||||
EVT_BACK_ZAP_COMPLETE = CRCInput::RC_WithData + 25, /* data: (t_channel_id *) */
|
||||
};
|
||||
enum
|
||||
{
|
||||
|
Reference in New Issue
Block a user