mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Added a missing Detach() in cTransfer::Activate()
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user