fixed regression from fix for switching between encrypted channels. It was

no longer possible to receive multiple (FTA) streams from the same
transponder
This commit is contained in:
schmirl
2009-10-19 06:19:10 +00:00
parent 73e30fd5ca
commit e99ea00348
3 changed files with 6 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
/*
* $Id: device.c,v 1.23 2009/04/06 06:48:59 schmirl Exp $
* $Id: device.c,v 1.24 2009/10/19 06:19:10 schmirl Exp $
*/
#include "client/device.h"
@@ -123,12 +123,10 @@ bool cStreamdevDevice::SetChannelDevice(const cChannel *Channel,
if (LiveView)
return false;
#if 0
if (ClientSocket.DataSocket(siLive) != NULL
&& TRANSPONDER(Channel, m_Channel)
&& Channel->Ca() < CA_ENCRYPTED_MIN)
&& Channel->Ca() == m_Channel->Ca())
return true;
#endif
DetachAllReceivers();
m_Channel = Channel;