summaryrefslogtreecommitdiff
path: root/remux.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-01-24 15:20:49 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2010-01-24 15:20:49 +0100
commit9ff0e7ef27c9676ca171b7ff9886812abd9e2c9b (patch)
tree81bfd313b091eeddc39b216188650261447f5820 /remux.c
parent96ce9817131c79b862916bdf2fdbd31b596bdb29 (diff)
downloadvdr-9ff0e7ef27c9676ca171b7ff9886812abd9e2c9b.tar.gz
vdr-9ff0e7ef27c9676ca171b7ff9886812abd9e2c9b.tar.bz2
The PCR pid in generated PMTs is now set to the channel's PCR pid again
Diffstat (limited to 'remux.c')
-rw-r--r--remux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/remux.c b/remux.c
index 5c41e3cb..1f71fb3c 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.38 2010/01/23 15:39:15 kls Exp $
+ * $Id: remux.c 2.39 2010/01/24 15:18:29 kls Exp $
*/
#include "remux.h"
@@ -295,7 +295,7 @@ void cPatPmtGenerator::GeneratePmt(cChannel *Channel)
numPmtPackets = 0;
if (Channel) {
int Vpid = Channel->Vpid();
- int Ppid = 0x1FFF; // no PCR pid
+ int Ppid = Channel->Ppid();
uchar *p = buf;
int i = 0;
p[i++] = 0x02; // table id