summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY1
-rw-r--r--transfer.c4
3 files changed, 5 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 44798fa6..f65ffcc6 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1487,6 +1487,7 @@ Marco Schlüßler <marco@lordzodiac.de>
for fixing setting the date in the channel display of the classic and sttng skins,
to avoid unnecessary OSD access
for changing cDvbDevice::GrabImage() to use V4L2
+ for adding a missing Detach() in cTransfer::Activate()
Jürgen Schmitz <j.schmitz@web.de>
for reporting a bug in displaying the current channel when switching via the SVDRP
diff --git a/HISTORY b/HISTORY
index 7c610ad5..b1b88c08 100644
--- a/HISTORY
+++ b/HISTORY
@@ -5927,3 +5927,4 @@ Video Disk Recorder Revision History
- Added some missing 'const' statements to cBitmap (thanks to Andreas Regel).
- Fixed returning complete PES packets in cTsToPes::GetPes() (thanks to Reinhard
Nissl).
+- Added a missing Detach() in cTransfer::Activate() (thanks to Marco Schlüßler).
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)