diff options
author | lordjaxom <lordjaxom> | 2005-03-24 21:31:38 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2005-03-24 21:31:38 +0000 |
commit | 183de0e401637f73a4f8afd10e38cb3f17a6a0f3 (patch) | |
tree | f9aac20a4c08afe30985edb68ca9ac5b7e6e889d /server/connection.c | |
parent | 3aa01282662a5907cc283a151bba8a939672a065 (diff) | |
download | vdr-plugin-streamdev-183de0e401637f73a4f8afd10e38cb3f17a6a0f3.tar.gz vdr-plugin-streamdev-183de0e401637f73a4f8afd10e38cb3f17a6a0f3.tar.bz2 |
- streamer now gets stopped when connection terminates unexpectedly
- fixed recursive delete in streamer
Diffstat (limited to 'server/connection.c')
-rw-r--r-- | server/connection.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/connection.c b/server/connection.c index 1011aa9..762d184 100644 --- a/server/connection.c +++ b/server/connection.c @@ -1,5 +1,5 @@ /* - * $Id: connection.c,v 1.2 2005/02/08 17:22:35 lordjaxom Exp $ + * $Id: connection.c,v 1.3 2005/03/24 21:31:38 lordjaxom Exp $ */ #include "server/connection.h" @@ -130,10 +130,10 @@ cDevice *cServerConnection::GetDevice(const cChannel *Channel, int Priority) { // maybe a device would be free if THIS connection did turn off its streams? Dprintf(" * trying again...\n"); const cChannel *current = Channels.GetByNumber(cDevice::CurrentChannel()); - isyslog("streamdev-server: Detaching current receiver"); - Detach(); + //isyslog("streamdev-server: Detaching current receiver"); + //Detach(); XXX+ device = cDevice::GetDevice(Channel, Priority); - Attach(); + //Attach(); XXX+ Dprintf(" * Found following device: %p (%d)\n", device, device ? device->CardIndex() + 1 : 0); if (device == cDevice::ActualDevice()) |