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
2028d9bd
Commit
2028d9bd
authored
Jun 15, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dtv: ignore SEC errors
This should fix ISDB-S tuning.
parent
cda1e9bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/access/dtv/access.c
modules/access/dtv/access.c
+5
-5
No files found.
modules/access/dtv/access.c
View file @
2028d9bd
...
...
@@ -862,14 +862,14 @@ static char var_InheritPolarization (vlc_object_t *obj)
return
pol
;
}
static
int
sec_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
uint64_t
freq
)
static
void
sec_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
uint64_t
freq
)
{
char
pol
=
var_InheritPolarization
(
obj
);
unsigned
lowf
=
var_InheritInteger
(
obj
,
"dvb-lnb-low"
);
unsigned
highf
=
var_InheritInteger
(
obj
,
"dvb-lnb-high"
);
unsigned
switchf
=
var_InheritInteger
(
obj
,
"dvb-lnb-switch"
);
return
dvb_set_sec
(
dev
,
freq
,
pol
,
lowf
,
highf
,
switchf
);
dvb_set_sec
(
dev
,
freq
,
pol
,
lowf
,
highf
,
switchf
);
}
static
int
dvbs_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
uint64_t
freq
)
...
...
@@ -879,7 +879,7 @@ static int dvbs_setup (vlc_object_t *obj, dvb_device_t *dev, uint64_t freq)
int
ret
=
dvb_set_dvbs
(
dev
,
freq
,
srate
,
fec
);
if
(
ret
==
0
)
ret
=
sec_setup
(
obj
,
dev
,
freq
);
sec_setup
(
obj
,
dev
,
freq
);
return
ret
;
}
...
...
@@ -893,7 +893,7 @@ static int dvbs2_setup (vlc_object_t *obj, dvb_device_t *dev, uint64_t freq)
int
ret
=
dvb_set_dvbs2
(
dev
,
freq
,
mod
,
srate
,
fec
,
pilot
,
rolloff
);
if
(
ret
==
0
)
ret
=
sec_setup
(
obj
,
dev
,
freq
);
sec_setup
(
obj
,
dev
,
freq
);
return
ret
;
}
...
...
@@ -951,7 +951,7 @@ static int isdbs_setup (vlc_object_t *obj, dvb_device_t *dev, uint64_t freq)
int
ret
=
dvb_set_isdbs
(
dev
,
freq
,
ts_id
);
if
(
ret
==
0
)
ret
=
sec_setup
(
obj
,
dev
,
freq
);
sec_setup
(
obj
,
dev
,
freq
);
return
ret
;
}
...
...
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