summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-04-13 12:55:28 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-04-13 12:55:28 +0200
commitc674d80762aa821a8901cdc0b604d52ce684177a (patch)
tree65c83104d5ea97a925d69ff967f8c3ce2a614f66
parent7f314c07b6e89d4d1ba2c67de35183180876e501 (diff)
downloadvdr-c674d80762aa821a8901cdc0b604d52ce684177a.tar.gz
vdr-c674d80762aa821a8901cdc0b604d52ce684177a.tar.bz2
No longer resetting the patPmtParser in cDevice::PlayTs()
-rw-r--r--HISTORY2
-rw-r--r--device.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 036b3745..33d6bb16 100644
--- a/HISTORY
+++ b/HISTORY
@@ -6035,3 +6035,5 @@ Video Disk Recorder Revision History
- cDevice::PlayTs() now syncs on the TS packet sync bytes.
- Made MAXFRAMESIZE a multiple of TS_SIZE to avoid breaking up TS packets.
+- No longer resetting the patPmtParser in cDevice::PlayTs(), because this
+ caused the selected audio and subtitle tracks to fall back to the default.
diff --git a/device.c b/device.c
index f5a908de..fa6c8aeb 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.14 2009/04/13 11:08:05 kls Exp $
+ * $Id: device.c 2.15 2009/04/13 12:53:09 kls Exp $
*/
#include "device.h"
@@ -1317,7 +1317,6 @@ int cDevice::PlayTs(const uchar *Data, int Length, bool VideoOnly)
{
int Played = 0;
if (Data == NULL) {
- patPmtParser.Reset();
tsToPesVideo.Reset();
tsToPesAudio.Reset();
tsToPesSubtitle.Reset();