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
ffecaa3f
Commit
ffecaa3f
authored
Mar 03, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DVB: list possible modulations
parent
6635e480
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
modules/access/dvb/access.c
modules/access/dvb/access.c
+7
-1
No files found.
modules/access/dvb/access.c
View file @
ffecaa3f
...
@@ -140,7 +140,12 @@ static const char *const voltages_text[] = { N_("off"), N_("13 V"), N_("18 V") }
...
@@ -140,7 +140,12 @@ static const char *const voltages_text[] = { N_("off"), N_("13 V"), N_("18 V") }
/* Cable */
/* Cable */
#define MODULATION_TEXT N_("Modulation type")
#define MODULATION_TEXT N_("Modulation type")
#define MODULATION_LONGTEXT N_("Modulation type for front-end device.")
#define MODULATION_LONGTEXT ""
static
const
int
modulations
[]
=
{
-
1
,
0
,
8
,
16
,
32
,
64
,
128
,
256
};
static
const
char
*
const
modulations_text
[]
=
{
N_
(
"QPSK"
),
N_
(
"Auto (QAM)"
),
N_
(
"VSB 8"
),
N_
(
"QAM 16"
),
N_
(
"QAM 32"
),
N_
(
"QAM 64"
),
N_
(
"QAM 128"
),
N_
(
"QAM 256"
)
};
/* Terrestrial */
/* Terrestrial */
#define CODE_RATE_HP_TEXT N_("Terrestrial high priority stream code rate (FEC)")
#define CODE_RATE_HP_TEXT N_("Terrestrial high priority stream code rate (FEC)")
...
@@ -240,6 +245,7 @@ vlc_module_begin ()
...
@@ -240,6 +245,7 @@ vlc_module_begin ()
/* DVB-C (cable) */
/* DVB-C (cable) */
add_integer
(
"dvb-modulation"
,
0
,
MODULATION_TEXT
,
add_integer
(
"dvb-modulation"
,
0
,
MODULATION_TEXT
,
MODULATION_LONGTEXT
,
true
)
MODULATION_LONGTEXT
,
true
)
change_integer_list
(
modulations
,
modulations_text
)
/* DVB-T (terrestrial) */
/* DVB-T (terrestrial) */
add_integer
(
"dvb-code-rate-hp"
,
9
,
CODE_RATE_HP_TEXT
,
add_integer
(
"dvb-code-rate-hp"
,
9
,
CODE_RATE_HP_TEXT
,
CODE_RATE_HP_LONGTEXT
,
true
)
CODE_RATE_HP_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