mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
Auskommentiertes Attach/Detach wieder aktiviert.
Kartenblockade wird dadurch behoben und alle Channels lassen sich anzappen, Unbedenklichkeit ist aber nicht einwandfrei geklrt!
This commit is contained in:
parent
434b91fa61
commit
01752a66d6
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: connection.c,v 1.5 2005/05/09 20:30:38 lordjaxom Exp $
|
||||
* $Id: connection.c,v 1.6 2006/07/05 20:39:19 thomas Exp $
|
||||
*/
|
||||
|
||||
#include "server/connection.h"
|
||||
@ -149,9 +149,9 @@ cDevice *cServerConnection::GetDevice(const cChannel *Channel, int Priority)
|
||||
Dprintf(" * trying again...\n");
|
||||
const cChannel *current = Channels.GetByNumber(cDevice::CurrentChannel());
|
||||
//isyslog("streamdev-server: Detaching current receiver");
|
||||
//Detach(); XXX+
|
||||
Detach();
|
||||
device = cDevice::GetDevice(Channel, Priority);
|
||||
//Attach(); XXX+
|
||||
Attach();
|
||||
Dprintf(" * Found following device: %p (%d)\n", device,
|
||||
device ? device->CardIndex() + 1 : 0);
|
||||
if (device == cDevice::ActualDevice())
|
||||
|
Loading…
x
Reference in New Issue
Block a user