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
d1f89592
Commit
d1f89592
authored
Nov 02, 2009
by
Marian Ďurkovič
Committed by
Christophe Massiot
Nov 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dvblastctl.c, dvb.c: Compatibility with older DVB drivers.
parent
77d8a50e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
dvb.c
dvb.c
+4
-0
dvblastctl.c
dvblastctl.c
+9
-3
No files found.
dvb.c
View file @
d1f89592
...
@@ -374,7 +374,9 @@ static int FrontendDoDiseqc(void)
...
@@ -374,7 +374,9 @@ static int FrontendDoDiseqc(void)
switch
(
i_voltage
)
switch
(
i_voltage
)
{
{
#ifdef SEC_VOLTAGE_OFF
case
0
:
fe_voltage
=
SEC_VOLTAGE_OFF
;
break
;
case
0
:
fe_voltage
=
SEC_VOLTAGE_OFF
;
break
;
#endif
default:
default:
case
13
:
fe_voltage
=
SEC_VOLTAGE_13
;
break
;
case
13
:
fe_voltage
=
SEC_VOLTAGE_13
;
break
;
case
18
:
fe_voltage
=
SEC_VOLTAGE_18
;
break
;
case
18
:
fe_voltage
=
SEC_VOLTAGE_18
;
break
;
...
@@ -739,6 +741,7 @@ static void FrontendSet( void )
...
@@ -739,6 +741,7 @@ static void FrontendSet( void )
i_frequency
,
i_srate
);
i_frequency
,
i_srate
);
break
;
break
;
#ifdef FE_ATSC
case
FE_ATSC
:
case
FE_ATSC
:
fep
.
frequency
=
i_frequency
;
fep
.
frequency
=
i_frequency
;
...
@@ -746,6 +749,7 @@ static void FrontendSet( void )
...
@@ -746,6 +749,7 @@ static void FrontendSet( void )
msg_Dbg
(
NULL
,
"tuning ATSC frontend to f=%d"
,
i_frequency
);
msg_Dbg
(
NULL
,
"tuning ATSC frontend to f=%d"
,
i_frequency
);
break
;
break
;
#endif
default:
default:
msg_Err
(
NULL
,
"unknown frontend type %d"
,
info
.
type
);
msg_Err
(
NULL
,
"unknown frontend type %d"
,
info
.
type
);
...
...
dvblastctl.c
View file @
d1f89592
...
@@ -308,17 +308,23 @@ int main( int i_argc, char **ppsz_argv )
...
@@ -308,17 +308,23 @@ int main( int i_argc, char **ppsz_argv )
PRINT_CAPS
(
CAN_BANDWIDTH_AUTO
);
PRINT_CAPS
(
CAN_BANDWIDTH_AUTO
);
PRINT_CAPS
(
CAN_GUARD_INTERVAL_AUTO
);
PRINT_CAPS
(
CAN_GUARD_INTERVAL_AUTO
);
PRINT_CAPS
(
CAN_HIERARCHY_AUTO
);
PRINT_CAPS
(
CAN_HIERARCHY_AUTO
);
#ifdef FE_CAN_8VSB
PRINT_CAPS
(
CAN_8VSB
);
PRINT_CAPS
(
CAN_8VSB
);
PRINT_CAPS
(
CAN_16VSB
);
PRINT_CAPS
(
CAN_16VSB
);
#endif
#if DVB_API_VERSION >= 5
#if DVB_API_VERSION >= 5
PRINT_CAPS
(
HAS_EXTENDED_CAPS
);
PRINT_CAPS
(
HAS_EXTENDED_CAPS
);
/* FIXME: apparently this doesn't exist in some versions of the
#ifdef FE_CAN_2G_MODULATION
* linux-dvb headers */
PRINT_CAPS
(
CAN_2G_MODULATION
);
/* PRINT_CAPS( CAN_2G_MODULATION ); */
#endif
#endif
#endif
#ifdef FE_NEEDS_BENDING
PRINT_CAPS
(
NEEDS_BENDING
);
PRINT_CAPS
(
NEEDS_BENDING
);
#endif
PRINT_CAPS
(
CAN_MUTE_TS
);
PRINT_CAPS
(
CAN_MUTE_TS
);
#ifdef FE_CAN_RECOVER
PRINT_CAPS
(
CAN_RECOVER
);
PRINT_CAPS
(
CAN_RECOVER
);
#endif
#undef PRINT_CAPS
#undef PRINT_CAPS
printf
(
"
\n
status:
\n
"
);
printf
(
"
\n
status:
\n
"
);
...
...
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