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
cb9b3dfc
Commit
cb9b3dfc
authored
Mar 10, 2011
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvb: change position to move along when iterating modulations/symbolrates
parent
d22d955d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
modules/access/dvb/scan.c
modules/access/dvb/scan.c
+4
-1
No files found.
modules/access/dvb/scan.c
View file @
cb9b3dfc
...
@@ -384,7 +384,10 @@ static int ScanDvbCNextFast( scan_t *p_scan, scan_configuration_t *p_cfg, double
...
@@ -384,7 +384,10 @@ static int ScanDvbCNextFast( scan_t *p_scan, scan_configuration_t *p_cfg, double
if
(
p_scan
->
i_index
<
num_frequencies
)
if
(
p_scan
->
i_index
<
num_frequencies
)
{
{
p_cfg
->
i_frequency
=
1000000
*
(
frequencies
[
p_scan
->
i_index
]
);
p_cfg
->
i_frequency
=
1000000
*
(
frequencies
[
p_scan
->
i_index
]
);
*
pf_pos
=
(
double
)
p_scan
->
i_index
/
num_frequencies
;
*
pf_pos
=
(
double
)(
p_scan
->
i_index
*
1000
+
p_scan
->
parameter
.
i_symbolrate
*
100
+
(
p_scan
->
parameter
.
i_modulation
>>
4
)
)
/
(
num_frequencies
*
1000
+
900
+
16
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
...
...
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