mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
zapitclient: initalize all var from commandZaptoServiceID struckt
Origin commit data
------------------
Branch: ni/coolstream
Commit: 35c87ebee0
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-08-14 (Wed, 14 Aug 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -191,6 +191,7 @@ class CZapitMessages
|
|||||||
bool record;
|
bool record;
|
||||||
bool pip;
|
bool pip;
|
||||||
bool epg;
|
bool epg;
|
||||||
|
commandZaptoServiceID():channel_id(0),record(false),pip(false),epg(false){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandSetAudioChannel
|
struct commandSetAudioChannel
|
||||||
|
@@ -152,6 +152,7 @@ unsigned int CZapitClient::zapTo_serviceID(const t_channel_id channel_id)
|
|||||||
msg.channel_id = channel_id;
|
msg.channel_id = channel_id;
|
||||||
msg.record = false;
|
msg.record = false;
|
||||||
msg.pip = false;
|
msg.pip = false;
|
||||||
|
msg.epg = false;
|
||||||
|
|
||||||
send(CZapitMessages::CMD_ZAPTO_SERVICEID, (const char *) & msg, sizeof(msg));
|
send(CZapitMessages::CMD_ZAPTO_SERVICEID, (const char *) & msg, sizeof(msg));
|
||||||
|
|
||||||
@@ -225,6 +226,9 @@ unsigned int CZapitClient::zapTo_subServiceID(const t_channel_id channel_id)
|
|||||||
CZapitMessages::commandZaptoServiceID msg;
|
CZapitMessages::commandZaptoServiceID msg;
|
||||||
|
|
||||||
msg.channel_id = channel_id;
|
msg.channel_id = channel_id;
|
||||||
|
msg.record = false;
|
||||||
|
msg.pip = false;
|
||||||
|
msg.epg = false;
|
||||||
|
|
||||||
send(CZapitMessages::CMD_ZAPTO_SUBSERVICEID, (const char *) & msg, sizeof(msg));
|
send(CZapitMessages::CMD_ZAPTO_SUBSERVICEID, (const char *) & msg, sizeof(msg));
|
||||||
|
|
||||||
@@ -242,6 +246,9 @@ void CZapitClient::zapTo_serviceID_NOWAIT(const t_channel_id channel_id)
|
|||||||
CZapitMessages::commandZaptoServiceID msg;
|
CZapitMessages::commandZaptoServiceID msg;
|
||||||
|
|
||||||
msg.channel_id = channel_id;
|
msg.channel_id = channel_id;
|
||||||
|
msg.record = false;
|
||||||
|
msg.pip = false;
|
||||||
|
msg.epg = false;
|
||||||
|
|
||||||
send(CZapitMessages::CMD_ZAPTO_SERVICEID_NOWAIT, (const char *) & msg, sizeof(msg));
|
send(CZapitMessages::CMD_ZAPTO_SERVICEID_NOWAIT, (const char *) & msg, sizeof(msg));
|
||||||
|
|
||||||
@@ -254,6 +261,9 @@ void CZapitClient::zapTo_subServiceID_NOWAIT(const t_channel_id channel_id)
|
|||||||
CZapitMessages::commandZaptoServiceID msg;
|
CZapitMessages::commandZaptoServiceID msg;
|
||||||
|
|
||||||
msg.channel_id = channel_id;
|
msg.channel_id = channel_id;
|
||||||
|
msg.record = false;
|
||||||
|
msg.pip = false;
|
||||||
|
msg.epg = false;
|
||||||
|
|
||||||
send(CZapitMessages::CMD_ZAPTO_SUBSERVICEID_NOWAIT, (const char *) & msg, sizeof(msg));
|
send(CZapitMessages::CMD_ZAPTO_SUBSERVICEID_NOWAIT, (const char *) & msg, sizeof(msg));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user