mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
				synced 2023-10-10 17:16:51 +00:00 
			
		
		
		
	Workaround for problem when switching from one encrypted channel to an other
Yet it's not quite clear if this is really a proper fix. There have been contradictory reports (#476).
This commit is contained in:
		
							
								
								
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -1,6 +1,8 @@ | ||||
| VDR Plugin 'streamdev' Revision History | ||||
| --------------------------------------- | ||||
|  | ||||
| - fixed problem when switching from one encrypted channel to an other | ||||
|   (reported by Tiroler@vdrportal, initial bugfix by pixelpeter@vdrportal) | ||||
| - added preprocessor directive for ancient gcc | ||||
| - added Russian translation (thanks to Oleg Roitburd) | ||||
| - fixed assignment of externremux.sh's default location (reported by plautze) | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| /* | ||||
|  *  $Id: device.c,v 1.19 2008/04/08 14:18:16 schmirl Exp $ | ||||
|  *  $Id: device.c,v 1.20 2008/10/02 06:56:36 schmirl Exp $ | ||||
|  */ | ||||
|   | ||||
| #include "client/device.h" | ||||
| @@ -108,7 +108,8 @@ bool cStreamdevDevice::SetChannelDevice(const cChannel *Channel, | ||||
| 		return false; | ||||
|  | ||||
| 	if (ClientSocket.DataSocket(siLive) != NULL  | ||||
| 			&& TRANSPONDER(Channel, m_Channel)) | ||||
| 			&& TRANSPONDER(Channel, m_Channel) | ||||
| 			&& Channel->Ca() < CA_ENCRYPTED_MIN) | ||||
| 		return true; | ||||
|  | ||||
| 	DetachAllReceivers(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user