From e68b207154b263eb84793cd82bf3e73d8e6f285c Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 4 Feb 2014 17:38:31 +0400 Subject: [PATCH] zapit/src/zapit.cpp: there is case when unlocking live playback can fail due to all frontends busy and zap back to live channel not possible. Send CZapitClient::EVT_ZAP_FAILED to notify neutrino --- src/zapit/src/zapit.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/zapit/src/zapit.cpp b/src/zapit/src/zapit.cpp index f09d76532..110a6e700 100644 --- a/src/zapit/src/zapit.cpp +++ b/src/zapit/src/zapit.cpp @@ -1632,7 +1632,8 @@ bool CZapit::ParseCommand(CBasicMessage::Header &rmsg, int connfd) SendPMT(); } else { live_fe->setTsidOnid(0); - ZapIt(lock_channel_id); + if (!ZapIt(lock_channel_id)) + SendEvent(CZapitClient::EVT_ZAP_FAILED, &lock_channel_id, sizeof(lock_channel_id)); lock_channel_id = 0; }