Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Abnormal behaviour of Section Filter



On Thu, 18 Sep 2003 15:56:50 +0200
Ralph Metzler <rjkm@metzlerbros.de> wrote:

> Thomas Haase writes:
>  > (Filter Parameters:
>  > Filter 1:
>  > 42  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
>  > Filter 2:
>  > 46  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
>  > 
>  > Mask all to 0
>  > )
>  > 
> [...]
>  > 
>  > This happens even if I'm using the filters in Hardware or Software mode.
>  > 
>  > Where is my error - or is it just a bug in the driver ?
>  > Does anyone else has encountered the behaviour?
> 
> You have to set the mask bytes correctly.
> All 0 means you do not care about any matches with the filter bytes
> and, thus, you get all sections.
> If you want an exact match on the first filter byte just set the 
> first mask to 0xff.
> 
> 
> Ralph


Hi Ralph,

thank you for your very fast answer - seems that I've had thought exactly the other way around .... ;-)

Works better, but also not in the way I'm expecting....

Please see the output:

Try 1:

FilterParameters:
Filter:
46  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
Mask:
ff  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
>>iFilterHandle:5 PId:11 TId:46 Mask:ff
42 f1 e1  7 f8 df  0  0  0  2 ff 12 60 fd 90 4c 48 10  1  5 42 53 6b 79 42  8 53 6b 79 20 4e 65 77 73 49  7 ff 47 42 52 49 52 4c 5f  4  0  0  0  2 b2 29  a  1 b0 2a e3 ......


Try 2:
FilterParameters:
Filter:
42  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
Mask:
ff  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
>>iFilterHandle:5 PId:11 TId:42 Mask:ff
46 f3 79  7 e7 c3  0  1  0  2 ff 13 3e fc 90 96 4c  2 10 1a 5f  4  0  0  0  2 b2 7a  a  1 d0  4 c0 47 20 1f 57 90 50 c2 bc fe 89 3a 8b e1 b8 15 5c 60 a5 18 6b 35 aa e3  9 1d 57 18 46 e8 a3 a5 8b f9 f7 6d 59 d4 5f c5 f4 f9  f  c  d 24 d5 71 ......


So somehow it is exactly the other way around as I'm expecting it.
Normally I think that if I'm filtering on 0x42 I'm getting the 0x42 output and not the 0x46....

Btw.: Latest CVS build (18.Sep)


Thank you for your help.

cu,
Thomas





-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index