summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-04-18 09:41:00 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-04-18 09:41:00 +0200
commit73b4cecacb970911bbbf58a6a20668581a539db7 (patch)
tree42db2e295c988ea03f5dad30c45d98d455f8ee68
parentb83439b87e8e93ed5330d1f38d53577ebfdedaea (diff)
downloadvdr-73b4cecacb970911bbbf58a6a20668581a539db7.tar.gz
vdr-73b4cecacb970911bbbf58a6a20668581a539db7.tar.bz2
No longer resetting the patPmtParser in cDevice::PlayTs() (cont'd)
-rw-r--r--device.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/device.c b/device.c
index fa6c8aeb..61216207 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 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"
@@ -1075,6 +1075,7 @@ bool cDevice::AttachPlayer(cPlayer *Player)
Detach(player);
DELETENULL(liveSubtitle);
DELETENULL(dvbSubtitleConverter);
+ patPmtParser.Reset();
player = Player;
if (!Transferring())
ClrAvailableTracks(false, true);
@@ -1099,6 +1100,7 @@ void cDevice::Detach(cPlayer *Player)
SetPlayMode(pmNone);
SetVideoDisplayFormat(eVideoDisplayFormat(Setup.VideoDisplayFormat));
PlayTs(NULL, 0);
+ patPmtParser.Reset();
Audios.ClearAudio();
isPlayingVideo = false;
}