mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed stopping live subtitles when a player is attached to the device
This commit is contained in:
parent
e47d73715b
commit
db4c8c3c76
1
HISTORY
1
HISTORY
@ -5526,3 +5526,4 @@ Video Disk Recorder Revision History
|
|||||||
- Updated the Russian OSD texts (thanks to Oleg Roitburd).
|
- Updated the Russian OSD texts (thanks to Oleg Roitburd).
|
||||||
- Fixed handling small PES packets that caused subtitles to be displayed late
|
- Fixed handling small PES packets that caused subtitles to be displayed late
|
||||||
in live mode (based on a patch from Reinhard Nissl).
|
in live mode (based on a patch from Reinhard Nissl).
|
||||||
|
- Fixed stopping live subtitles when a player is attached to the device.
|
||||||
|
4
device.c
4
device.c
@ -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: 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"
|
#include "device.h"
|
||||||
@ -1148,6 +1148,8 @@ bool cDevice::AttachPlayer(cPlayer *Player)
|
|||||||
if (CanReplay()) {
|
if (CanReplay()) {
|
||||||
if (player)
|
if (player)
|
||||||
Detach(player);
|
Detach(player);
|
||||||
|
DELETENULL(liveSubtitle);
|
||||||
|
DELETENULL(dvbSubtitleConverter);
|
||||||
pesAssembler->Reset();
|
pesAssembler->Reset();
|
||||||
player = Player;
|
player = Player;
|
||||||
if (!Transferring())
|
if (!Transferring())
|
||||||
|
Loading…
Reference in New Issue
Block a user