diff --git a/src/zapit/include/zapit/client/msgtypes.h b/src/zapit/include/zapit/client/msgtypes.h index 1bdaa1fd2..4321d8a53 100644 --- a/src/zapit/include/zapit/client/msgtypes.h +++ b/src/zapit/include/zapit/client/msgtypes.h @@ -191,6 +191,7 @@ class CZapitMessages bool record; bool pip; bool epg; + commandZaptoServiceID():channel_id(0),record(false),pip(false),epg(false){} }; struct commandSetAudioChannel diff --git a/src/zapit/lib/zapitclient.cpp b/src/zapit/lib/zapitclient.cpp index 28e9cf773..2db89e08a 100644 --- a/src/zapit/lib/zapitclient.cpp +++ b/src/zapit/lib/zapitclient.cpp @@ -152,6 +152,7 @@ unsigned int CZapitClient::zapTo_serviceID(const t_channel_id channel_id) msg.channel_id = channel_id; msg.record = false; msg.pip = false; + msg.epg = false; 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; msg.channel_id = channel_id; + msg.record = false; + msg.pip = false; + msg.epg = false; 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; 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)); @@ -254,6 +261,9 @@ void CZapitClient::zapTo_subServiceID_NOWAIT(const t_channel_id channel_id) CZapitMessages::commandZaptoServiceID msg; 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));