mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
				synced 2023-10-10 17:16:51 +00:00 
			
		
		
		
	switching between two encrypted channels on the same transponder didn't
always work (thanks to sk8ter@vdrportal)
This commit is contained in:
		@@ -136,3 +136,6 @@ Milan Hrala
 | 
			
		||||
 | 
			
		||||
Valdemaras Pipiras
 | 
			
		||||
  for providing Lithuanian language texts
 | 
			
		||||
 | 
			
		||||
sk8ter
 | 
			
		||||
  for fixing failures when switching between two encrypted channels
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							@@ -1,6 +1,8 @@
 | 
			
		||||
VDR Plugin 'streamdev' Revision History
 | 
			
		||||
---------------------------------------
 | 
			
		||||
 | 
			
		||||
- switching between two encrypted channels on the same transponder didn't
 | 
			
		||||
  always work (thanks to sk8ter@vdrportal)
 | 
			
		||||
- added DELT FORCE option to delete running timers (thanks to Alwin Esch)
 | 
			
		||||
- added VDR 1.7.11 parental rating support for VTP LSTE command (thanks to
 | 
			
		||||
  Alwin Esch)
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 *  $Id: device.c,v 1.24 2009/10/19 06:19:10 schmirl Exp $
 | 
			
		||||
 *  $Id: device.c,v 1.25 2010/02/17 12:39:03 schmirl Exp $
 | 
			
		||||
 */
 | 
			
		||||
 
 | 
			
		||||
#include "client/device.h"
 | 
			
		||||
@@ -72,7 +72,9 @@ bool cStreamdevDevice::IsTunedToTransponder(const cChannel *Channel)
 | 
			
		||||
{
 | 
			
		||||
	bool res = false;
 | 
			
		||||
	if (ClientSocket.DataSocket(siLive) != NULL
 | 
			
		||||
			&& TRANSPONDER(Channel, m_Channel))
 | 
			
		||||
			&& TRANSPONDER(Channel, m_Channel)
 | 
			
		||||
			&& Channel->Ca() == CA_FTA
 | 
			
		||||
			&& m_Channel->Ca() == CA_FTA)
 | 
			
		||||
		res = true;
 | 
			
		||||
	return res;
 | 
			
		||||
}
 | 
			
		||||
@@ -125,7 +127,8 @@ bool cStreamdevDevice::SetChannelDevice(const cChannel *Channel,
 | 
			
		||||
 | 
			
		||||
	if (ClientSocket.DataSocket(siLive) != NULL 
 | 
			
		||||
			&& TRANSPONDER(Channel, m_Channel)
 | 
			
		||||
			&& Channel->Ca() == m_Channel->Ca())
 | 
			
		||||
			&& Channel->Ca() == CA_FTA
 | 
			
		||||
			&& m_Channel->Ca() == CA_FTA)
 | 
			
		||||
		return true;
 | 
			
		||||
 | 
			
		||||
	DetachAllReceivers();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user