From 8335ba0a7edf9be91b90e05dd4eb9bfd09c45504 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 5 Dec 2009 13:16:34 +0100 Subject: [PATCH] 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 --- HISTORY | 2 ++ remux.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index bbb24c27..1f39428b 100644 --- a/HISTORY +++ b/HISTORY @@ -6203,3 +6203,5 @@ Video Disk Recorder Revision History - The new function cDevice::PatPmtParser() can be used in derived devices to access the PAT/PMT of the currently replayed material. - 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. diff --git a/remux.c b/remux.c index 8cf5a938..38f37a58 100644 --- a/remux.c +++ b/remux.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * 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" @@ -295,7 +295,7 @@ void cPatPmtGenerator::GeneratePmt(cChannel *Channel) numPmtPackets = 0; if (Channel) { int Vpid = Channel->Vpid(); - int Ppid = Channel->Ppid(); + int Ppid = 0x1FFF; // no PCR pid uchar *p = buf; int i = 0; p[i++] = 0x02; // table id