[libdvbpsi-devel] Bug in EIT PSI section gathering

Sas(o Kiselkov skiselkov at gmail.com
Wed Jan 16 11:09:43 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Thanks, I hadn't noticed that my SVN copy was a bit outdated.

Regards
- --
Saso

Johann Hanne wrote:
> Hi Saso,
> 
> this is fixed in 0.1.6.
> 
> Cheers, Johann
> 
> On Wednesday 16 January 2008 00:30:03  wrote:
>> I've found a design bug in eit.c: when gathering PSI sections for EIT
>> decoding, the code assumes that the section numbers must be contiguous
>>
>> >from 0x00 up to i_last_section_number, which isn't the case: ETSI EN 300
>>
>> 468 V1.5.1, p.23, "section_number":
>>
>> "Within each segment the section_number shall increment by 1 with each
>> additional section, but a gap in numbering is permitted between the last
>> section of a segment and the first section of the adjacent segment."
>>
>> I found that when trying to program an EPG application, the ARTE channel
>> multiplex on Astra 19.2E would only show me the current and following
>> events (in table_id 0x4e with just two sections), but none of the
>> scheduled events (table_id 0x50 - 0x5f, with lots more sections with
>> gaps between them). I reworked the code in eit.c to call
>> dvbpsi_DecodeEITSections for each new section received, which made
>> decode each section one by one, but my solution is a hack and clearly
>> suboptimal.
>>
>> Any suggestions on how to patch this behavior?
>>
>> Regards
> 
> 
> _______________________________________________
> libdvbpsi-devel mailing list
> libdvbpsi-devel at videolan.org
> http://mailman.videolan.org/listinfo/libdvbpsi-devel
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHjdfnakxhuWWzY78RA89cAJ9J14CtWBFx2dUzElXoCJ5QJOCSOwCfQSjK
u0ZHmMjk3b17hFTuFglGF84=
=zbeP
-----END PGP SIGNATURE-----



More information about the libdvbpsi-devel mailing list