libdvbv5: add support for tables with multiple ts_id and section gaps
authorAndré Roth <neolynx@gmail.com>
Sun, 30 Mar 2014 16:21:18 +0000 (13:21 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 31 Mar 2014 20:03:41 +0000 (17:03 -0300)
commit082afcf28bfc04e74db3ad257ea071b3f27c76e0
tree9fd81a4cda7a454d1089f0c5b5b670817be811cb
parent12d132f31c7cec4d6d88cdc88b01e26ce33703a2
libdvbv5: add support for tables with multiple ts_id and section gaps

this restores the logic for reading tables like EIT, where the
ts_id indicates the service and the sections are incremented by 8
for example. an application might wish to read a complete EIT
containing all services. in this case the function dvb_read_sections
can be used with allow_section_gaps set to 1 in the dvb_table_filter
struct.

- make struct dvb_table_filter public
- use more generic void * for tables
- make dvb_read_sections public
- fix continuous parsing when table_length > 0
- fix logging

Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
lib/include/libdvbv5/dvb-scan.h
lib/libdvbv5/dvb-scan.c