Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dvblast
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
dvblast
Commits
397a50d4
Commit
397a50d4
authored
May 26, 2010
by
Jean-Paul Saman
Committed by
Christophe Massiot
May 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DVB-S2 clear the previous command before tuning to new channel.
parent
3f5c997c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
dvb.c
dvb.c
+16
-0
No files found.
dvb.c
View file @
397a50d4
...
@@ -677,6 +677,15 @@ static struct dtv_properties dvbt_cmdseq = {
...
@@ -677,6 +677,15 @@ static struct dtv_properties dvbt_cmdseq = {
#define FEC_INNER 4
#define FEC_INNER 4
#define ROLLOFF 7
#define ROLLOFF 7
struct
dtv_property
pclear
[]
=
{
{
.
cmd
=
DTV_CLEAR
},
};
struct
dtv_properties
cmdclear
=
{
.
num
=
1
,
.
props
=
pclear
};
static
void
FrontendSet
(
void
)
static
void
FrontendSet
(
void
)
{
{
struct
dvb_frontend_info
info
;
struct
dvb_frontend_info
info
;
...
@@ -690,6 +699,13 @@ static void FrontendSet( void )
...
@@ -690,6 +699,13 @@ static void FrontendSet( void )
FrontendInfo
(
info
);
FrontendInfo
(
info
);
/* Clear frontend commands */
if
(
ioctl
(
i_frontend
,
FE_SET_PROPERTY
,
&
cmdclear
)
<
0
)
{
msg_Err
(
NULL
,
"Unable to clear frontend"
);
exit
(
1
);
}
switch
(
info
.
type
)
switch
(
info
.
type
)
{
{
case
FE_OFDM
:
case
FE_OFDM
:
...
...
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