Simplified ChannelSwitch().
This commit is contained in:
parent
749e3e3238
commit
377e73dfe1
|
@ -787,7 +787,7 @@ void cFemonOsd::ChannelSwitch(const cDevice * device, int channelNumber, bool li
|
|||
if (!device || !liveView)
|
||||
return;
|
||||
|
||||
if (!channelNumber || !channel || channel->Number() != channelNumber) {
|
||||
if (!channelNumber) {
|
||||
if (m_Receiver) {
|
||||
m_Receiver->Deactivate();
|
||||
DELETENULL(m_Receiver);
|
||||
|
|
Loading…
Reference in New Issue