diff options
author | schmirl <schmirl> | 2008-10-02 06:56:36 +0000 |
---|---|---|
committer | schmirl <schmirl> | 2008-10-02 06:56:36 +0000 |
commit | 924cf6e4d0e1cfccc86db8c185da60ef0fb6e2fb (patch) | |
tree | 15578712d614409e20e2fd0229a08ca26fd606b4 /client | |
parent | 90bae5b011f52b82c7a9f7f412533cca64c752ac (diff) | |
download | vdr-plugin-streamdev-924cf6e4d0e1cfccc86db8c185da60ef0fb6e2fb.tar.gz vdr-plugin-streamdev-924cf6e4d0e1cfccc86db8c185da60ef0fb6e2fb.tar.bz2 |
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).
Diffstat (limited to 'client')
-rw-r--r-- | client/device.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/device.c b/client/device.c index 54d4034..c9b53c3 100644 --- a/client/device.c +++ b/client/device.c @@ -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(); |