diff options
author | Lars Hanisch <dvb@flensrocker.de> | 2011-12-29 00:13:21 +0100 |
---|---|---|
committer | Lars Hanisch <dvb@flensrocker.de> | 2011-12-29 00:13:21 +0100 |
commit | 001865a58ce3dabedc57b3db9b3a4892be911d91 (patch) | |
tree | 286bf3bffbad946beeaa794110fa6256dee65539 /patches | |
parent | c0a859beb3d2fb280e168459bddb7b7d6e875adc (diff) | |
download | vdr-plugin-dynamite-001865a58ce3dabedc57b3db9b3a4892be911d91.tar.gz vdr-plugin-dynamite-001865a58ce3dabedc57b3db9b3a4892be911d91.tar.bz2 |
correct camslot assignment on detach
Diffstat (limited to 'patches')
-rw-r--r-- | patches/vdr-1.7.22-dynamite-subdevice.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/vdr-1.7.22-dynamite-subdevice.patch b/patches/vdr-1.7.22-dynamite-subdevice.patch index b2c83c9..983ea7d 100644 --- a/patches/vdr-1.7.22-dynamite-subdevice.patch +++ b/patches/vdr-1.7.22-dynamite-subdevice.patch @@ -1,3 +1,16 @@ +diff --git a/ci.c b/ci.c +index 59d62ef..6c5face 100644 +--- a/ci.c ++++ b/ci.c +@@ -1571,6 +1571,8 @@ cCamSlot::cCamSlot(cCiAdapter *CiAdapter) + + cCamSlot::~cCamSlot() + { ++ if (ciAdapter && ciAdapter->assignedDevice) ++ ciAdapter->assignedDevice->SetCamSlot(NULL); + CamSlots.Del(this, false); + DeleteAllConnections(); + } diff --git a/ci.h b/ci.h index 71bbdf9..70303d1 100644 --- a/ci.h |