Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
b31ccb07
Commit
b31ccb07
authored
Feb 08, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Linux DVB: cleanup capabilities list, and add missing ones
parent
9834a85a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
14 deletions
+26
-14
modules/access/dvb/linux_dvb.c
modules/access/dvb/linux_dvb.c
+26
-14
No files found.
modules/access/dvb/linux_dvb.c
View file @
b31ccb07
...
@@ -720,19 +720,19 @@ static int FrontendInfo( access_t *p_access )
...
@@ -720,19 +720,19 @@ static int FrontendInfo( access_t *p_access )
if
(
p_frontend
->
info
.
caps
&
FE_CAN_FEC_AUTO
)
if
(
p_frontend
->
info
.
caps
&
FE_CAN_FEC_AUTO
)
msg_Dbg
(
p_access
,
" forward error correction auto"
);
msg_Dbg
(
p_access
,
" forward error correction auto"
);
if
(
p_frontend
->
info
.
caps
&
FE_CAN_QPSK
)
if
(
p_frontend
->
info
.
caps
&
FE_CAN_QPSK
)
msg_Dbg
(
p_access
,
"
card can do QPSK
"
);
msg_Dbg
(
p_access
,
"
QPSK modulation
"
);
if
(
p_frontend
->
info
.
caps
&
FE_CAN_QAM_16
)
if
(
p_frontend
->
info
.
caps
&
FE_CAN_QAM_16
)
msg_Dbg
(
p_access
,
"
card can do QAM 16
"
);
msg_Dbg
(
p_access
,
"
QAM 16 modulation
"
);
if
(
p_frontend
->
info
.
caps
&
FE_CAN_QAM_32
)
if
(
p_frontend
->
info
.
caps
&
FE_CAN_QAM_32
)
msg_Dbg
(
p_access
,
"
card can do QAM 32
"
);
msg_Dbg
(
p_access
,
"
QAM 32 modulation
"
);
if
(
p_frontend
->
info
.
caps
&
FE_CAN_QAM_64
)
if
(
p_frontend
->
info
.
caps
&
FE_CAN_QAM_64
)
msg_Dbg
(
p_access
,
"
card can do QAM 64
"
);
msg_Dbg
(
p_access
,
"
QAM 64 modulation
"
);
if
(
p_frontend
->
info
.
caps
&
FE_CAN_QAM_128
)
if
(
p_frontend
->
info
.
caps
&
FE_CAN_QAM_128
)
msg_Dbg
(
p_access
,
"
card can do QAM 128
"
);
msg_Dbg
(
p_access
,
"
QAM 128 modulation
"
);
if
(
p_frontend
->
info
.
caps
&
FE_CAN_QAM_256
)
if
(
p_frontend
->
info
.
caps
&
FE_CAN_QAM_256
)
msg_Dbg
(
p_access
,
"
card can do QAM 256
"
);
msg_Dbg
(
p_access
,
"
QAM 256 modulation
"
);
if
(
p_frontend
->
info
.
caps
&
FE_CAN_QAM_AUTO
)
if
(
p_frontend
->
info
.
caps
&
FE_CAN_QAM_AUTO
)
msg_Dbg
(
p_access
,
"
card can do QAM auto
"
);
msg_Dbg
(
p_access
,
"
QAM auto modulation
"
);
if
(
p_frontend
->
info
.
caps
&
FE_CAN_TRANSMISSION_MODE_AUTO
)
if
(
p_frontend
->
info
.
caps
&
FE_CAN_TRANSMISSION_MODE_AUTO
)
msg_Dbg
(
p_access
,
" transmission mode auto"
);
msg_Dbg
(
p_access
,
" transmission mode auto"
);
if
(
p_frontend
->
info
.
caps
&
FE_CAN_BANDWIDTH_AUTO
)
if
(
p_frontend
->
info
.
caps
&
FE_CAN_BANDWIDTH_AUTO
)
...
@@ -741,15 +741,27 @@ static int FrontendInfo( access_t *p_access )
...
@@ -741,15 +741,27 @@ static int FrontendInfo( access_t *p_access )
msg_Dbg
(
p_access
,
" guard interval mode auto"
);
msg_Dbg
(
p_access
,
" guard interval mode auto"
);
if
(
p_frontend
->
info
.
caps
&
FE_CAN_HIERARCHY_AUTO
)
if
(
p_frontend
->
info
.
caps
&
FE_CAN_HIERARCHY_AUTO
)
msg_Dbg
(
p_access
,
" hierarchy mode auto"
);
msg_Dbg
(
p_access
,
" hierarchy mode auto"
);
if
(
p_frontend
->
info
.
caps
&
FE_CAN_MUTE_TS
)
msg_Dbg
(
p_access
,
" card can mute TS"
);
if
(
p_frontend
->
info
.
caps
&
FE_CAN_RECOVER
)
msg_Dbg
(
p_access
,
" card can recover from a cable unplug"
);
if
(
p_frontend
->
info
.
caps
&
FE_CAN_8VSB
)
if
(
p_frontend
->
info
.
caps
&
FE_CAN_8VSB
)
msg_Dbg
(
p_access
,
"
card can do 8vsb
"
);
msg_Dbg
(
p_access
,
"
8-level VSB modulation
"
);
if
(
p_frontend
->
info
.
caps
&
FE_CAN_16VSB
)
if
(
p_frontend
->
info
.
caps
&
FE_CAN_16VSB
)
msg_Dbg
(
p_access
,
" card can do 16vsb"
);
msg_Dbg
(
p_access
,
" 16-level VSB modulation"
);
msg_Dbg
(
p_access
,
"End of capability list"
);
if
(
p_frontend
->
info
.
caps
&
FE_HAS_EXTENDED_CAPS
)
msg_Dbg
(
p_access
,
" 8-level VSB modulation"
);
/* 3 capabilities that don't exist yet HERE */
#ifdef FE_CAN_TURBO_FEC
if
(
p_frontend
->
info
.
caps
&
FE_CAN_TURBO_FEC
)
msg_Dbg
(
p_access
,
" Turbo FEC modulation"
);
#else
# warning Please update your Linux kernel headers!
#endif
if
(
p_frontend
->
info
.
caps
&
FE_CAN_2G_MODULATION
)
msg_Dbg
(
p_access
,
" 2nd generation modulation (DVB-S2)"
);
/* FE_NEEDS_BENDING is deprecated */
if
(
p_frontend
->
info
.
caps
&
FE_CAN_RECOVER
)
msg_Dbg
(
p_access
,
" cable unplug recovery"
);
if
(
p_frontend
->
info
.
caps
&
FE_CAN_MUTE_TS
)
msg_Dbg
(
p_access
,
" spurious TS muting"
);
msg_Dbg
(
p_access
,
"End of capability list"
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
...
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