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()
This commit is contained in:
parent
7f314c07b6
commit
c674d80762
2
HISTORY
2
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.
|
||||
|
3
device.c
3
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();
|
||||
|
Loading…
Reference in New Issue
Block a user