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 the channel's PCR pid again

This commit is contained in:
Klaus Schmidinger 2010-01-24 15:20:49 +01:00
parent 96ce981713
commit 9ff0e7ef27
2 changed files with 7 additions and 3 deletions

View File

@ -6276,7 +6276,7 @@ Video Disk Recorder Revision History
- Fixed plugin arguments corruption with glibc 2.11 on x86_64 (thanks to - Fixed plugin arguments corruption with glibc 2.11 on x86_64 (thanks to
Anssi Hannula). Anssi Hannula).
2010-01-23: Version 1.7.12 2010-01-24: Version 1.7.12
- Changed the EVCONTENTMASK_* macros to enums and changed "mask" to "group". - Changed the EVCONTENTMASK_* macros to enums and changed "mask" to "group".
- Updated the Estonian OSD texts (thanks to Arthur Konovalov). - Updated the Estonian OSD texts (thanks to Arthur Konovalov).
@ -6296,3 +6296,7 @@ Video Disk Recorder Revision History
to Matti Lehtimäki). to Matti Lehtimäki).
- Fixed determining the frame duration on channels where the PTS deltas jitter by - Fixed determining the frame duration on channels where the PTS deltas jitter by
+/-1 around 1800. +/-1 around 1800.
- The PCR pid in generated PMTs is now set to the channel's PCR pid again, which
in most cases is the same as the video pid. For channels that use a separate
PCR pid, no TS packets are recorded from that PID (I have yet to see a case where
this actually is a problem).

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.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" #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 = 0x1FFF; // no PCR pid int Ppid = Channel->Ppid();
uchar *p = buf; uchar *p = buf;
int i = 0; int i = 0;
p[i++] = 0x02; // table id p[i++] = 0x02; // table id