1
0
mirror of https://github.com/rofafor/vdr-plugin-femon.git synced 2023-10-10 13:36:53 +02:00

Simplified ChannelSwitch().

This commit is contained in:
Rolf Ahrenberg 2015-02-08 23:27:16 +02:00
parent 749e3e3238
commit 377e73dfe1

View File

@ -787,7 +787,7 @@ void cFemonOsd::ChannelSwitch(const cDevice * device, int channelNumber, bool li
if (!device || !liveView) if (!device || !liveView)
return; return;
if (!channelNumber || !channel || channel->Number() != channelNumber) { if (!channelNumber) {
if (m_Receiver) { if (m_Receiver) {
m_Receiver->Deactivate(); m_Receiver->Deactivate();
DELETENULL(m_Receiver); DELETENULL(m_Receiver);