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
08c88156
Commit
08c88156
authored
Jul 25, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/access/dvb/linux_dvb.c: Added support for the IF-band.
parent
92ac7be4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
modules/access/dvb/linux_dvb.c
modules/access/dvb/linux_dvb.c
+7
-5
No files found.
modules/access/dvb/linux_dvb.c
View file @
08c88156
...
...
@@ -690,7 +690,7 @@ static int FrontendSetQPSK( access_t *p_access )
struct
dvb_frontend_parameters
fep
;
int
i_ret
;
vlc_value_t
val
;
int
i_frequency
,
i_lnb_slof
,
i_lnb_lof1
,
i_lnb_lof2
=
0
;
int
i_frequency
,
i_lnb_slof
=
0
,
i_lnb_lof1
,
i_lnb_lof2
=
0
;
/* Prepare the fep structure */
var_Get
(
p_access
,
"dvb-frequency"
,
&
val
);
...
...
@@ -700,25 +700,27 @@ static int FrontendSetQPSK( access_t *p_access )
if
(
val
.
i_int
==
0
)
{
/* Automatic mode. */
if
(
i_frequency
>=
2500000
&&
i_frequency
<=
2700000
)
if
(
i_frequency
>=
950000
&&
i_frequency
<=
2150000
)
{
msg_Dbg
(
p_access
,
"frequency %d is in IF-band"
,
i_frequency
);
i_lnb_lof1
=
0
;
}
else
if
(
i_frequency
>=
2500000
&&
i_frequency
<=
2700000
)
{
msg_Dbg
(
p_access
,
"frequency %d is in S-band"
,
i_frequency
);
i_lnb_lof1
=
3650000
;
i_lnb_slof
=
0
;
}
else
if
(
i_frequency
>=
3400000
&&
i_frequency
<=
4200000
)
{
msg_Dbg
(
p_access
,
"frequency %d is in C-band (lower)"
,
i_frequency
);
i_lnb_lof1
=
5150000
;
i_lnb_slof
=
0
;
}
else
if
(
i_frequency
>=
4500000
&&
i_frequency
<=
4800000
)
{
msg_Dbg
(
p_access
,
"frequency %d is in C-band (higher)"
,
i_frequency
);
i_lnb_lof1
=
5950000
;
i_lnb_slof
=
0
;
}
else
if
(
i_frequency
>=
10700000
&&
i_frequency
<=
13250000
)
{
...
...
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