diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-01-16 15:16:08 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-01-16 15:16:08 +0100 |
commit | 70ec0dfa1bb79224349171c0b4b3e00969bcbd8e (patch) | |
tree | 2caf68fd0ad5246baa94857e0549a1d8352cb3fe /transfer.c | |
parent | 71dc09e788f3bc44d8feb7f6724d1ed6698c3acc (diff) | |
download | vdr-70ec0dfa1bb79224349171c0b4b3e00969bcbd8e.tar.gz vdr-70ec0dfa1bb79224349171c0b4b3e00969bcbd8e.tar.bz2 |
Added a missing Detach() in cTransfer::Activate()
Diffstat (limited to 'transfer.c')
-rw-r--r-- | transfer.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |