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
539dfc84
Commit
539dfc84
authored
Jul 21, 2010
by
Manol Manolov
Committed by
Jean-Baptiste Kempf
Jul 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Wrong BDA shortcuts
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
b8a09dfe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
18 deletions
+11
-18
modules/access/bda/bda.c
modules/access/bda/bda.c
+11
-18
No files found.
modules/access/bda/bda.c
View file @
539dfc84
...
...
@@ -294,10 +294,10 @@ vlc_module_begin ()
set_capability
(
"access"
,
0
)
add_shortcut
(
"dvb"
,
/* Generic name */
"dvb-s"
,
"dvbs"
,
"qpsk"
,
"satellite"
,
/* Satellite */
"dvb-c"
,
"dvbc"
,
"qam"
,
"cable"
,
/* Cable */
"dvb
t"
,
"dvb-t"
,
"ofdm"
,
"terrestrial"
,
/* Terrestrial */
"atsc"
,
"usdigital"
)
/* Atsc */
"dvb-s"
,
"dvbs"
,
/* Satellite */
"dvb-c"
,
"dvbc"
,
/* Cable */
"dvb
-t"
,
"dvbt"
,
/* Terrestrial */
"atsc"
)
/* Atsc */
set_callbacks
(
Open
,
Close
)
vlc_module_end
()
...
...
@@ -368,29 +368,22 @@ static int Open( vlc_object_t *p_this )
i_ret
=
VLC_EGENERIC
;
if
(
strncmp
(
p_access
->
psz_access
,
"qpsk"
,
4
)
==
0
||
strncmp
(
p_access
->
psz_access
,
"dvb-s"
,
5
)
==
0
||
strncmp
(
p_access
->
psz_access
,
"dvbs"
,
4
)
==
0
||
strncmp
(
p_access
->
psz_access
,
"satellite"
,
9
)
==
0
)
if
(
strncmp
(
p_access
->
psz_access
,
"dvb-s"
,
5
)
==
0
||
strncmp
(
p_access
->
psz_access
,
"dvbs"
,
4
)
==
0
)
{
i_ret
=
dvb_SubmitDVBSTuneRequest
(
p_access
);
}
if
(
strncmp
(
p_access
->
psz_access
,
"cable"
,
5
)
==
0
||
strncmp
(
p_access
->
psz_access
,
"dvb-c"
,
5
)
==
0
||
strncmp
(
p_access
->
psz_access
,
"dvbc"
,
4
)
==
0
||
strncmp
(
p_access
->
psz_access
,
"qam"
,
3
)
==
0
)
if
(
strncmp
(
p_access
->
psz_access
,
"dvb-c"
,
5
)
==
0
||
strncmp
(
p_access
->
psz_access
,
"dvbc"
,
4
)
==
0
)
{
i_ret
=
dvb_SubmitDVBCTuneRequest
(
p_access
);
}
if
(
strncmp
(
p_access
->
psz_access
,
"terrestrial"
,
11
)
==
0
||
strncmp
(
p_access
->
psz_access
,
"dvb-t"
,
5
)
==
0
||
strncmp
(
p_access
->
psz_access
,
"ofdm"
,
4
)
==
0
||
if
(
strncmp
(
p_access
->
psz_access
,
"dvb-t"
,
5
)
==
0
||
strncmp
(
p_access
->
psz_access
,
"dvbt"
,
4
)
==
0
)
{
i_ret
=
dvb_SubmitDVBTTuneRequest
(
p_access
);
}
if
(
strncmp
(
p_access
->
psz_access
,
"usdigital"
,
9
)
==
0
||
strncmp
(
p_access
->
psz_access
,
"atsc"
,
4
)
==
0
)
if
(
strncmp
(
p_access
->
psz_access
,
"atsc"
,
4
)
==
0
)
{
i_ret
=
dvb_SubmitATSCTuneRequest
(
p_access
);
}
...
...
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