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
This commit is contained in:
FlatTV
2018-01-01 14:01:03 +01:00
committed by Thilo Graf
parent 70bfad4c86
commit 3babb03206

View File

@@ -2389,8 +2389,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;