Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
ca232670
Commit
ca232670
authored
Jul 20, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/access/dvb/linux_dvb.c: More verbose CAM probing, patch
courtesy of Oivind.
parent
bd39e4ea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
5 deletions
+40
-5
modules/access/dvb/linux_dvb.c
modules/access/dvb/linux_dvb.c
+40
-5
No files found.
modules/access/dvb/linux_dvb.c
View file @
ca232670
...
...
@@ -1163,8 +1163,46 @@ int E_(CAMOpen)( access_t *p_access )
return
VLC_EGENERIC
;
}
if
(
ioctl
(
p_sys
->
i_ca_handle
,
CA_GET_CAP
,
&
caps
)
!=
0
||
caps
.
slot_num
==
0
||
!
(
caps
.
slot_type
&
CA_CI_LINK
)
)
if
(
ioctl
(
p_sys
->
i_ca_handle
,
CA_GET_CAP
,
&
caps
)
!=
0
)
{
msg_Err
(
p_access
,
"CAMInit: ioctl() error getting CAM capabilities"
);
close
(
p_sys
->
i_ca_handle
);
p_sys
->
i_ca_handle
=
0
;
return
VLC_EGENERIC
;
}
/* Output CA capabilities */
msg_Dbg
(
p_access
,
"CAMInit: CA interface with %d %s"
,
caps
.
slot_num
,
caps
.
slot_num
==
1
?
"slot"
:
"slots"
);
if
(
caps
.
slot_type
&
CA_CI
)
msg_Dbg
(
p_access
,
"CAMInit: CI high level interface type (not supported)"
);
if
(
caps
.
slot_type
&
CA_CI_LINK
)
msg_Dbg
(
p_access
,
"CAMInit: CI link layer level interface type"
);
if
(
caps
.
slot_type
&
CA_CI_PHYS
)
msg_Dbg
(
p_access
,
"CAMInit: CI physical layer level interface type (not supported) "
);
if
(
caps
.
slot_type
&
CA_DESCR
)
msg_Dbg
(
p_access
,
"CAMInit: built-in descrambler detected"
);
if
(
caps
.
slot_type
&
CA_SC
)
msg_Dbg
(
p_access
,
"CAMInit: simple smart card interface"
);
msg_Dbg
(
p_access
,
"CAMInit: %d available %s"
,
caps
.
descr_num
,
caps
.
descr_num
==
1
?
"descrambler (key)"
:
"descramblers (keys)"
);
if
(
caps
.
descr_type
&
CA_ECD
)
msg_Dbg
(
p_access
,
"CAMInit: ECD scrambling system supported"
);
if
(
caps
.
descr_type
&
CA_NDS
)
msg_Dbg
(
p_access
,
"CAMInit: NDS scrambling system supported"
);
if
(
caps
.
descr_type
&
CA_DSS
)
msg_Dbg
(
p_access
,
"CAMInit: DSS scrambling system supported"
);
if
(
caps
.
slot_num
==
0
)
{
msg_Err
(
p_access
,
"CAMInit: CAM module with no slots"
);
close
(
p_sys
->
i_ca_handle
);
p_sys
->
i_ca_handle
=
0
;
return
VLC_EGENERIC
;
}
if
(
!
(
caps
.
slot_type
&
CA_CI_LINK
)
)
{
msg_Err
(
p_access
,
"CAMInit: no compatible CAM module"
);
close
(
p_sys
->
i_ca_handle
);
...
...
@@ -1183,9 +1221,6 @@ int E_(CAMOpen)( access_t *p_access )
}
}
msg_Dbg
(
p_access
,
"CAMInit: found a CI handler with %d slots"
,
p_sys
->
i_nb_slots
);
p_sys
->
i_ca_timeout
=
100000
;
/* Wait a bit otherwise it doesn't initialize properly... */
msleep
(
1000000
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment