Hi all, As as was saying last week I have done some work on descrambling on stream level in dvb-apps. Here is the patch that I promised earlier. Besides fixing some things regarding descrambling on stream level I also added moving of CA descriptors from programme to stream level. This is enabled in ca_zap using the -m switch. Here is a minor description of what I have done in the different files. channels.c/h: * Corrected parsing of terrestrial channel list * Increased parser buffer sizes descriptor.h/c: * Rearranged descriptors structs to one struct with union of different types * Corrected the parsing of a few descriptors pat.c/h: * Corrected parsing of streams en50221_hlci.c/h: * Added function to compare CA descriptors * Changes after restructuring of descriptor structs * Moving of CA descriptors from stream to programme level * ca_pmt_cmd_id is put only once on programme level, not once for each CA descriptor * New debug function to parse ca_pmt en50221_encode.c/h: * ca_pmt_cmd_id is put only once per stream, not once for each CA descriptor * Changes after restructuring of descriptor structs ca_zap.c: * Added -m switch Feel free to comment on anything that look strange or wrong. And please let me know how it works for you all. Would be nice to know if I have fixed descrambling for anyone... Regards, Henrik ps Hope the mailinglist can take 21k attachments. ds -------------- next part -------------- A non-text attachment was scrubbed... Name: stream_descrambling.patch.bz2 Type: application/x-bzip2 Size: 21684 bytes Desc: not available Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20051017/d46adc0b/stream_descrambling.patch-0001.bin