Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
feec3fca
Commit
feec3fca
authored
Mar 17, 2011
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvb: iterate modulations 256..16 instead 16..256
parent
15b69453
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/access/dvb/scan.c
modules/access/dvb/scan.c
+4
-4
No files found.
modules/access/dvb/scan.c
View file @
feec3fca
...
...
@@ -410,7 +410,7 @@ static int ScanDvbCNextFast( scan_t *p_scan, scan_configuration_t *p_cfg, double
p_cfg
->
i_frequency
=
10000
*
(
frequencies
[
p_scan
->
i_index
]
);
*
pf_pos
=
(
double
)(
p_scan
->
i_index
*
1000
+
p_scan
->
parameter
.
i_symbolrate
*
100
+
(
p_scan
->
parameter
.
i_modulation
>>
4
)
)
(
256
-
(
p_scan
->
parameter
.
i_modulation
>>
4
)
)
)
/
(
num_frequencies
*
1000
+
900
+
16
);
return
VLC_SUCCESS
;
}
...
...
@@ -518,11 +518,11 @@ static int ScanDvbCNext( scan_t *p_scan, scan_configuration_t *p_cfg, double *pf
bool
b_rotate
=
true
;
if
(
!
p_scan
->
parameter
.
b_modulation_set
)
{
p_scan
->
parameter
.
i_modulation
=
(
p_scan
->
parameter
.
i_modulation
<<
1
)
%
512
;
p_scan
->
parameter
.
i_modulation
=
(
p_scan
->
parameter
.
i_modulation
>>
1
)
;
/* if we iterated all modulations, move on */
if
(
!
p_scan
->
parameter
.
i_modulation
)
if
(
p_scan
->
parameter
.
i_modulation
<
16
)
{
p_scan
->
parameter
.
i_modulation
=
1
6
;
p_scan
->
parameter
.
i_modulation
=
25
6
;
}
else
{
b_rotate
=
false
;
}
...
...
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