On Tue, July 10, 2007 10:56, Marcel Siegert wrote: > On Tuesday 10 July 2007, David Härdeman wrote: >> I'm trying to understand the dvbdemux_set_section_filter function in >> dvp-apps/lib/libdvbapi/dvbdemux.c (lines 74 - 93). ... > > if you filter a section you can filter on e.g. the table id but NOT on the > size ect. (those are used as byte 2 + 3 of a section) Ok, now I'm confused...when I use one filter by calling dvbdemux_set_section_filter with filter[0] and mask[0] set to something, I get sections. If I use two filters by calling dvbdemux_set_section_filter with filter[0], mask[0], filter[3], mask[3] set to something, I get no sections at all... Do I need to do anything special to use multiple filters? Second, unused filter and mask values are set to 0x00, but how does the API distinguish between an unused filter/mask pair and a request for all sections? It seems that if I call dvbdemux_set_section_filter with mask[0] = 0x00 and filter[0] = 0x00 I do get all sections... -- David Härdeman _______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb