1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

The PCR pid in generated PMTs is now set to 0x1FFF ("no PCR pid") in cPatPmtGenerator::GeneratePmt(), because VDR doesn't record the PCR pid

This commit is contained in:
Klaus Schmidinger 2009-12-05 13:16:34 +01:00
parent ed3783e08e
commit 8335ba0a7e
2 changed files with 4 additions and 2 deletions

View File

@ -6203,3 +6203,5 @@ Video Disk Recorder Revision History
- The new function cDevice::PatPmtParser() can be used in derived devices to access - The new function cDevice::PatPmtParser() can be used in derived devices to access
the PAT/PMT of the currently replayed material. the PAT/PMT of the currently replayed material.
- Updated the Italian OSD texts (thanks to Diego Pierotto). - Updated the Italian OSD texts (thanks to Diego Pierotto).
- The PCR pid in generated PMTs is now set to 0x1FFF ("no PCR pid") in
cPatPmtGenerator::GeneratePmt(), because VDR doesn't record the PCR pid.

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: remux.c 2.30 2009/12/04 15:05:35 kls Exp $ * $Id: remux.c 2.31 2009/12/05 13:15:10 kls Exp $
*/ */
#include "remux.h" #include "remux.h"
@ -295,7 +295,7 @@ void cPatPmtGenerator::GeneratePmt(cChannel *Channel)
numPmtPackets = 0; numPmtPackets = 0;
if (Channel) { if (Channel) {
int Vpid = Channel->Vpid(); int Vpid = Channel->Vpid();
int Ppid = Channel->Ppid(); int Ppid = 0x1FFF; // no PCR pid
uchar *p = buf; uchar *p = buf;
int i = 0; int i = 0;
p[i++] = 0x02; // table id p[i++] = 0x02; // table id