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
8ad7cadd
Commit
8ad7cadd
authored
Jul 12, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DTV: use dvb_enum_systems() instead of dvb_guess_system()
parent
dafa954d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
modules/access/dtv/access.c
modules/access/dtv/access.c
+10
-1
No files found.
modules/access/dtv/access.c
View file @
8ad7cadd
...
@@ -554,7 +554,16 @@ static const delsys_t *GuessSystem (const char *scheme, dvb_device_t *dev)
...
@@ -554,7 +554,16 @@ static const delsys_t *GuessSystem (const char *scheme, dvb_device_t *dev)
if
(
!
strcasecmp
(
scheme
,
"dvb-t2"
))
if
(
!
strcasecmp
(
scheme
,
"dvb-t2"
))
return
&
dvbt2
;
return
&
dvbt2
;
return
dvb_guess_system
(
dev
);
unsigned
systems
=
dvb_enum_systems
(
dev
);
if
(
systems
&
ATSC
)
return
&
atsc
;
if
(
systems
&
DVB_C
)
return
&
dvbc
;
if
(
systems
&
DVB_S
)
return
&
dvbc
;
if
(
systems
&
DVB_T
)
return
&
dvbt
;
return
NULL
;
}
}
/** Set parameters and tune the device */
/** Set parameters and tune the device */
...
...
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