zapit.cpp: disable "tune channel, with stopped playback to not bypass the parental PIN check" on arm hardware

Send capmt to socket only once after coldstart


Origin commit data
------------------
Branch: ni/coolstream
Commit: d844da88c6
Author: FlatTV <FlatTV@gmx.de>
Date: 2018-01-01 (Mon, 01 Jan 2018)



------------------
This commit was generated by Migit
This commit is contained in:
FlatTV
2018-01-01 14:01:03 +01:00
parent a7ea4c4130
commit 29bef65a4c

View File

@@ -2388,8 +2388,10 @@ void CZapit::leaveStandby(void)
}
standby = false;
if (current_channel) {
#if !HAVE_ARM_HARDWARE
/* tune channel, with stopped playback to not bypass the parental PIN check */
ZapIt(live_channel_id, false, false);
#endif
if (IS_WEBCHAN(live_channel_id)) {
CZapitChannel* newchannel = CServiceManager::getInstance()->FindChannel(last_channel_id);
CFrontend * fe = newchannel ? CFEManager::getInstance()->allocateFE(newchannel) : NULL;