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
8cc181f4
Commit
8cc181f4
authored
Apr 10, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DVB/BDA: add_safe bandwidth/frequency
parent
f1a2b56f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
modules/access/bda/bda.c
modules/access/bda/bda.c
+2
-0
modules/access/dvb/access.c
modules/access/dvb/access.c
+2
-0
No files found.
modules/access/bda/bda.c
View file @
8cc181f4
...
...
@@ -201,6 +201,7 @@ vlc_module_begin ()
change_safe
()
add_integer
(
"dvb-frequency"
,
0
,
NULL
,
FREQ_TEXT
,
FREQ_LONGTEXT
,
false
)
change_safe
()
# if defined(WIN32) || defined(WINCE)
add_string
(
"dvb-network-name"
,
NULL
,
NULL
,
NAME_TEXT
,
NAME_LONGTEXT
,
true
)
...
...
@@ -281,6 +282,7 @@ vlc_module_begin ()
add_integer
(
"dvb-bandwidth"
,
0
,
NULL
,
BANDWIDTH_TEXT
,
BANDWIDTH_LONGTEXT
,
false
)
change_integer_list
(
i_band_list
,
ppsz_band_text
,
NULL
)
change_safe
()
add_integer
(
"dvb-guard"
,
-
1
,
NULL
,
GUARD_TEXT
,
GUARD_LONGTEXT
,
true
)
change_integer_list
(
i_guard_list
,
ppsz_guard_text
,
NULL
)
add_integer
(
"dvb-transmission"
,
-
1
,
NULL
,
TRANSMISSION_TEXT
,
...
...
modules/access/dvb/access.c
View file @
8cc181f4
...
...
@@ -204,6 +204,7 @@ vlc_module_begin ()
true
)
add_integer
(
"dvb-frequency"
,
0
,
NULL
,
FREQ_TEXT
,
FREQ_LONGTEXT
,
false
)
change_safe
()
add_integer
(
"dvb-inversion"
,
2
,
NULL
,
INVERSION_TEXT
,
INVERSION_LONGTEXT
,
true
)
add_bool
(
"dvb-probe"
,
true
,
NULL
,
PROBE_TEXT
,
PROBE_LONGTEXT
,
true
)
...
...
@@ -237,6 +238,7 @@ vlc_module_begin ()
CODE_RATE_LP_LONGTEXT
,
true
)
add_integer
(
"dvb-bandwidth"
,
0
,
NULL
,
BANDWIDTH_TEXT
,
BANDWIDTH_LONGTEXT
,
true
)
change_safe
()
add_integer
(
"dvb-guard"
,
0
,
NULL
,
GUARD_TEXT
,
GUARD_LONGTEXT
,
true
)
add_integer
(
"dvb-transmission"
,
0
,
NULL
,
TRANSMISSION_TEXT
,
TRANSMISSION_LONGTEXT
,
true
)
...
...
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