summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-11-17 15:58:55 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2007-11-17 15:58:55 +0100
commitdb4c8c3c7612bb1933981233e5a973569e26145c (patch)
tree6d66448b52bc44e6076d502868a788cf6f683de4 /device.c
parente47d73715b48e182cefbc4f4a728f70873840703 (diff)
downloadvdr-db4c8c3c7612bb1933981233e5a973569e26145c.tar.gz
vdr-db4c8c3c7612bb1933981233e5a973569e26145c.tar.bz2
Fixed stopping live subtitles when a player is attached to the device
Diffstat (limited to 'device.c')
-rw-r--r--device.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/device.c b/device.c
index b8e5a8f5..84473af0 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 1.147 2007/11/03 13:30:09 kls Exp $
+ * $Id: device.c 1.148 2007/11/17 15:39:28 kls Exp $
*/
#include "device.h"
@@ -1148,6 +1148,8 @@ bool cDevice::AttachPlayer(cPlayer *Player)
if (CanReplay()) {
if (player)
Detach(player);
+ DELETENULL(liveSubtitle);
+ DELETENULL(dvbSubtitleConverter);
pesAssembler->Reset();
player = Player;
if (!Transferring())