summaryrefslogtreecommitdiff
path: root/transfer.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-01-16 15:16:08 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-01-16 15:16:08 +0100
commit70ec0dfa1bb79224349171c0b4b3e00969bcbd8e (patch)
tree2caf68fd0ad5246baa94857e0549a1d8352cb3fe /transfer.c
parent71dc09e788f3bc44d8feb7f6724d1ed6698c3acc (diff)
downloadvdr-70ec0dfa1bb79224349171c0b4b3e00969bcbd8e.tar.gz
vdr-70ec0dfa1bb79224349171c0b4b3e00969bcbd8e.tar.bz2
Added a missing Detach() in cTransfer::Activate()
Diffstat (limited to 'transfer.c')
-rw-r--r--transfer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/transfer.c b/transfer.c
index 9a6aee3d..ddd84736 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 2.1 2008/08/15 14:32:12 kls Exp $
+ * $Id: transfer.c 2.2 2009/01/16 15:16:08 kls Exp $
*/
#include "transfer.h"
@@ -31,6 +31,8 @@ void cTransfer::Activate(bool On)
while (uchar *pmt = patPmtGenerator.GetPmt(Index))
PlayTs(pmt, TS_SIZE);
}
+ else
+ cPlayer::Detach();
}
void cTransfer::Receive(uchar *Data, int Length)