Added a missing Detach() in cTransfer::Activate()

This commit is contained in:
Klaus Schmidinger 2009-01-16 15:16:08 +01:00
parent 71dc09e788
commit 70ec0dfa1b
3 changed files with 5 additions and 1 deletions

View File

@ -1487,6 +1487,7 @@ Marco Schl
for fixing setting the date in the channel display of the classic and sttng skins, for fixing setting the date in the channel display of the classic and sttng skins,
to avoid unnecessary OSD access to avoid unnecessary OSD access
for changing cDvbDevice::GrabImage() to use V4L2 for changing cDvbDevice::GrabImage() to use V4L2
for adding a missing Detach() in cTransfer::Activate()
Jürgen Schmitz <j.schmitz@web.de> Jürgen Schmitz <j.schmitz@web.de>
for reporting a bug in displaying the current channel when switching via the SVDRP for reporting a bug in displaying the current channel when switching via the SVDRP

View File

@ -5927,3 +5927,4 @@ Video Disk Recorder Revision History
- Added some missing 'const' statements to cBitmap (thanks to Andreas Regel). - Added some missing 'const' statements to cBitmap (thanks to Andreas Regel).
- Fixed returning complete PES packets in cTsToPes::GetPes() (thanks to Reinhard - Fixed returning complete PES packets in cTsToPes::GetPes() (thanks to Reinhard
Nissl). Nissl).
- Added a missing Detach() in cTransfer::Activate() (thanks to Marco Schlüßler).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "transfer.h"
@ -31,6 +31,8 @@ void cTransfer::Activate(bool On)
while (uchar *pmt = patPmtGenerator.GetPmt(Index)) while (uchar *pmt = patPmtGenerator.GetPmt(Index))
PlayTs(pmt, TS_SIZE); PlayTs(pmt, TS_SIZE);
} }
else
cPlayer::Detach();
} }
void cTransfer::Receive(uchar *Data, int Length) void cTransfer::Receive(uchar *Data, int Length)