diff options
author | schmirl <schmirl> | 2006-09-14 10:43:10 +0000 |
---|---|---|
committer | schmirl <schmirl> | 2006-09-14 10:43:10 +0000 |
commit | 06265bab7bd5dea2e561a1c62b39ebcf36b164e3 (patch) | |
tree | 87bae326a15436ccad0836878d74ff7a46e0e819 /client | |
parent | 610719625a51fd5b3b94adae193e227eb9c72112 (diff) | |
download | vdr-plugin-streamdev-06265bab7bd5dea2e561a1c62b39ebcf36b164e3.tar.gz vdr-plugin-streamdev-06265bab7bd5dea2e561a1c62b39ebcf36b164e3.tar.bz2 |
- detach all receivers before tuning to different transponder. Otherwise ABRT will be sent after tuning, which will destroy the LiveStreamer on the server.
Diffstat (limited to 'client')
-rw-r--r-- | client/device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/device.c b/client/device.c index 5652c13..c8506c3 100644 --- a/client/device.c +++ b/client/device.c @@ -1,5 +1,5 @@ /* - * $Id: device.c,v 1.6 2005/04/24 16:21:59 lordjaxom Exp $ + * $Id: device.c,v 1.7 2006/09/14 10:43:10 schmirl Exp $ */ #include "client/device.h" @@ -101,6 +101,7 @@ bool cStreamdevDevice::SetChannelDevice(const cChannel *Channel, && TRANSPONDER(Channel, m_Channel)) return true; + DetachAllReceivers(); m_Channel = Channel; bool r = ClientSocket.SetChannelDevice(m_Channel); Dprintf("setchanneldevice r=%d\n", r); |