No longer resetting the patPmtParser in cDevice::PlayTs()

This commit is contained in:
Klaus Schmidinger 2009-04-13 12:55:28 +02:00
parent 7f314c07b6
commit c674d80762
2 changed files with 3 additions and 2 deletions

View File

@ -6035,3 +6035,5 @@ Video Disk Recorder Revision History
- cDevice::PlayTs() now syncs on the TS packet sync bytes. - cDevice::PlayTs() now syncs on the TS packet sync bytes.
- Made MAXFRAMESIZE a multiple of TS_SIZE to avoid breaking up TS packets. - 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.

View File

@ -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.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" #include "device.h"
@ -1317,7 +1317,6 @@ int cDevice::PlayTs(const uchar *Data, int Length, bool VideoOnly)
{ {
int Played = 0; int Played = 0;
if (Data == NULL) { if (Data == NULL) {
patPmtParser.Reset();
tsToPesVideo.Reset(); tsToPesVideo.Reset();
tsToPesAudio.Reset(); tsToPesAudio.Reset();
tsToPesSubtitle.Reset(); tsToPesSubtitle.Reset();