From 29b2d48bb53df75f1cb978e72bc709a6658d6e5c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 18 Nov 2007 18:00:00 +0100 Subject: Version 1.5.12 - Fixed assembling PS1 packets in cTS2PES::instant_repack() (thanks to Reinhard Nissl). - Updated the Russian OSD texts (thanks to Oleg Roitburd). - Fixed handling small PES packets that caused subtitles to be displayed late in live mode (based on a patch from Reinhard Nissl). - Fixed stopping live subtitles when a player is attached to the device. - Fixed suddenly stopping subtitles in live mode. --- device.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'device.c') diff --git a/device.c b/device.c index b8e5a8f..84473af 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()) -- cgit v1.2.3