mirror of
				https://github.com/rofafor/vdr-plugin-femon.git
				synced 2023-10-10 11:36:53 +00:00 
			
		
		
		
	Simplified ChannelSwitch().
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user