Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
5c735144
Commit
5c735144
authored
Jul 12, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DTV: remove dvb_guess_system()
parent
8ad7cadd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
37 deletions
+0
-37
modules/access/dtv/bdagraph.cpp
modules/access/dtv/bdagraph.cpp
+0
-5
modules/access/dtv/dtv.h
modules/access/dtv/dtv.h
+0
-1
modules/access/dtv/linux.c
modules/access/dtv/linux.c
+0
-31
No files found.
modules/access/dtv/bdagraph.cpp
View file @
5c735144
...
...
@@ -169,11 +169,6 @@ unsigned dvb_enum_systems (dvb_device_t *)
#warning TODO
}
const
delsys_t
*
dvb_guess_system
(
dvb_device_t
*
)
{
return
NULL
;
}
float
dvb_get_signal_strength
(
dvb_device_t
*
)
{
return
0.
;
...
...
modules/access/dtv/dtv.h
View file @
5c735144
...
...
@@ -51,7 +51,6 @@ int dvb_add_pid (dvb_device_t *, uint16_t);
void
dvb_remove_pid
(
dvb_device_t
*
,
uint16_t
);
unsigned
dvb_enum_systems
(
dvb_device_t
*
);
const
delsys_t
*
dvb_guess_system
(
dvb_device_t
*
);
float
dvb_get_signal_strength
(
dvb_device_t
*
);
float
dvb_get_snr
(
dvb_device_t
*
);
...
...
modules/access/dtv/linux.c
View file @
5c735144
...
...
@@ -539,37 +539,6 @@ unsigned dvb_enum_systems (dvb_device_t *d)
return
systems
;
}
const
delsys_t
*
dvb_guess_system
(
dvb_device_t
*
d
)
{
if
(
d
->
frontend
==
-
1
)
{
d
->
frontend
=
dvb_open_node
(
d
->
dir
,
"frontend"
,
0
,
O_RDWR
);
if
(
d
->
frontend
==
-
1
)
{
msg_Err
(
d
->
obj
,
"cannot access frontend %u; %m"
,
0
);
return
NULL
;
}
if
(
ioctl
(
d
->
frontend
,
FE_GET_INFO
,
&
d
->
info
)
<
0
)
{
msg_Err
(
d
->
obj
,
"cannot get frontend %u info: %m"
,
0
);
close
(
d
->
frontend
);
d
->
frontend
=
-
1
;
return
NULL
;
}
}
//bool v2 = d->info.caps & FE_CAN_2G_MODULATION;
switch
(
d
->
info
.
type
)
{
case
FE_QPSK
:
return
/*v2 ? &dvbs2 :*/
&
dvbs
;
case
FE_QAM
:
return
&
dvbc
;
case
FE_OFDM
:
return
/*v2 ? &dvbt2 :*/
&
dvbt
;
case
FE_ATSC
:
return
&
atsc
;
}
return
NULL
;
}
float
dvb_get_signal_strength
(
dvb_device_t
*
d
)
{
uint16_t
strength
;
...
...
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