mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user