From 29bef65a4c2523376c354b1c88fd4efdda6b294d Mon Sep 17 00:00:00 2001 From: FlatTV Date: Mon, 1 Jan 2018 14:01:03 +0100 Subject: [PATCH] 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: https://github.com/neutrino-images/ni-neutrino/commit/d844da88c63190e5cabb31b59a56a07e4642eea5 Author: FlatTV Date: 2018-01-01 (Mon, 01 Jan 2018) ------------------ This commit was generated by Migit --- src/zapit/src/zapit.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zapit/src/zapit.cpp b/src/zapit/src/zapit.cpp index dd81cfb82..45b2bd26f 100644 --- a/src/zapit/src/zapit.cpp +++ b/src/zapit/src/zapit.cpp @@ -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;