mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
No longer resetting the patPmtParser in cDevice::PlayTs() (cont'd)
This commit is contained in:
parent
b83439b87e
commit
73b4cecacb
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 2.15 2009/04/13 12:53:09 kls Exp $
|
* $Id: device.c 2.16 2009/04/18 09:41:00 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "device.h"
|
#include "device.h"
|
||||||
@ -1075,6 +1075,7 @@ bool cDevice::AttachPlayer(cPlayer *Player)
|
|||||||
Detach(player);
|
Detach(player);
|
||||||
DELETENULL(liveSubtitle);
|
DELETENULL(liveSubtitle);
|
||||||
DELETENULL(dvbSubtitleConverter);
|
DELETENULL(dvbSubtitleConverter);
|
||||||
|
patPmtParser.Reset();
|
||||||
player = Player;
|
player = Player;
|
||||||
if (!Transferring())
|
if (!Transferring())
|
||||||
ClrAvailableTracks(false, true);
|
ClrAvailableTracks(false, true);
|
||||||
@ -1099,6 +1100,7 @@ void cDevice::Detach(cPlayer *Player)
|
|||||||
SetPlayMode(pmNone);
|
SetPlayMode(pmNone);
|
||||||
SetVideoDisplayFormat(eVideoDisplayFormat(Setup.VideoDisplayFormat));
|
SetVideoDisplayFormat(eVideoDisplayFormat(Setup.VideoDisplayFormat));
|
||||||
PlayTs(NULL, 0);
|
PlayTs(NULL, 0);
|
||||||
|
patPmtParser.Reset();
|
||||||
Audios.ClearAudio();
|
Audios.ClearAudio();
|
||||||
isPlayingVideo = false;
|
isPlayingVideo = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user