From 70ec0dfa1bb79224349171c0b4b3e00969bcbd8e Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 16 Jan 2009 15:16:08 +0100 Subject: Added a missing Detach() in cTransfer::Activate() --- transfer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'transfer.c') 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) -- cgit v1.2.3