summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-12-05 13:16:34 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-12-05 13:16:34 +0100
commit8335ba0a7edf9be91b90e05dd4eb9bfd09c45504 (patch)
tree4f6df8200254f27c0a64321f75a9b8e0faea9d9c
parented3783e08e6b6c44ed95eb21abe3a769afa297e7 (diff)
downloadvdr-8335ba0a7edf9be91b90e05dd4eb9bfd09c45504.tar.gz
vdr-8335ba0a7edf9be91b90e05dd4eb9bfd09c45504.tar.bz2
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
-rw-r--r--HISTORY2
-rw-r--r--remux.c4
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