[vlc] Re: Checking of CAM Slot Type

Michael Ditum mrskensington at gmail.com
Thu Jul 7 10:57:37 CEST 2005


sorry forgot to mention that part... 

yes I did test it, it is working fine now.

Mike

On 7/6/05, Paul Sokolovsky <paul at maxnet.ru> wrote:
> Did you try this? I mean does the CI work now? Did you test it?
> 
> Paul
> 
> ----- Original Message -----
> From: "Michael Ditum" <mrskensington at gmail.com>
> To: <vlc at videolan.org>
> Sent: Wednesday, July 06, 2005 6:43 PM
> Subject: [vlc] Checking of CAM Slot Type
> 
> 
> I was trying to get a Nexus-S v2.3 with the CI streaming a satelitte
> signal to a multicast IP. When I started vlc part of the way through
> the startup it would say...
> 
> CAMInit: no compatible CAM module
> 
> After a little debugging I chased it down to the following problem. On
> this card/CI the caps.slot_type returns 10 which is CA_CI_LINK and
> CA_DESCR combined. The problem is that the code will only use the CI
> if caps.slot_type equals CA_CI_LINK.. i.e.
> 
> if ( ioctl( p_sys->i_ca_handle, CA_GET_CAP, &caps ) != 0
>            || caps.slot_num == 0 || caps.slot_type != CA_CI_LINK )
> 
> when it should be ...
> 
> if ( ioctl( p_sys->i_ca_handle, CA_GET_CAP, &caps ) != 0
>            || caps.slot_num == 0 || !(caps.slot_type & CA_CI_LINK) )
> 
> I've attached a patch against the latest SVN to fix this issue.
> 
> Mike
> 
> --
> This is the vlc mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://www.videolan.org/support/lists.html
> 
>

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list