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:
parent
749e3e3238
commit
377e73dfe1
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user