[linux-dvb] libdvbapi clarification
david at hardeman.nu
Wed Jul 11 09:31:33 CEST 2007
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 and mask set to something, I
If I use two filters by calling dvbdemux_set_section_filter with
filter, mask, filter, mask set to something, I get no sections
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
= 0x00 and filter = 0x00 I do get all sections...
More information about the linux-dvb