summaryrefslogtreecommitdiff
path: root/transfer.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-05-11 09:01:51 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-05-11 09:01:51 +0200
commit7a0054abbd50149874823cae3f234b00fd87ca70 (patch)
tree160768042c922b61ffc95b0e9838b4ff929666b6 /transfer.c
parent823945204cbf8e70c36ceab03ed6be37e5345338 (diff)
downloadvdr-7a0054abbd50149874823cae3f234b00fd87ca70.tar.gz
vdr-7a0054abbd50149874823cae3f234b00fd87ca70.tar.bz2
Implemented cDevice::ActualDevice()
Diffstat (limited to 'transfer.c')
-rw-r--r--transfer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/transfer.c b/transfer.c
index 9354e58f..cdde5520 100644
--- a/transfer.c
+++ b/transfer.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: transfer.c 1.11 2003/03/30 12:52:11 kls Exp $
+ * $Id: transfer.c 1.12 2003/05/11 08:48:05 kls Exp $
*/
#include "transfer.h"
@@ -179,13 +179,17 @@ void cTransfer::SetAudioTrack(int Index)
// --- cTransferControl ------------------------------------------------------
+cDevice *cTransferControl::receiverDevice = NULL;
+
cTransferControl::cTransferControl(cDevice *ReceiverDevice, int VPid, int APid1, int APid2, int DPid1, int DPid2)
:cControl(transfer = new cTransfer(VPid, APid1, APid2, DPid1, DPid2), true)
{
ReceiverDevice->AttachReceiver(transfer);
+ receiverDevice = ReceiverDevice;
}
cTransferControl::~cTransferControl()
{
+ receiverDevice = NULL;
delete transfer;
}