[vdr] Bug in pat.c (VDR 1.7.27) - possible fix attached

Patrick Boettcher pboettcher at kernellabs.com
Sun Apr 8 18:38:45 CEST 2012


I located a small bug which has been introduced in 1.7.18 (at least I think 
so). Reading the Changes file I could not determine which change caused it, 
but the problem is the following. 

In pat.c: if the PMT of a service has a stream of stream-type  128 (0x80) 
the vpid is overridden with the PID signalled in the Elementary-PID-field of 
this stream. This happens to be the case here in France for some of the DVB-
T services. It breaks 2 channels (France 2 and France 5) when channel-
updates is at least configured to "update PIDs".

The code which is doing that is described as "STREAMTYPE_USER_PRIVATE - 
DigiCipher II VIDEO (ANSI/SCTE 57)" which before was only applied when the 
stream had a certain descriptor and there a certain type. 

The attached patch resets the code to do exactly that for STREAMTYPE 0x80 - 
though can't check whether the digiCipher-stuff is still working. 

Please consider applying soon.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdr-1.7.27-fix-blind-overriding-of-vpid-when-streamtype-is-0x80.patch
Type: text/x-patch
Size: 1927 bytes
Desc: not available
URL: <http://www.linuxtv.org/pipermail/vdr/attachments/20120408/b0142714/attachment-0001.bin>

More information about the vdr mailing list