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
001cbdee
Commit
001cbdee
authored
Mar 20, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DTV: small DVB-C fixes
parent
cf2dd978
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
modules/access/dtv/access.c
modules/access/dtv/access.c
+5
-5
modules/access/dtv/linux.c
modules/access/dtv/linux.c
+1
-1
No files found.
modules/access/dtv/access.c
View file @
001cbdee
...
...
@@ -164,10 +164,6 @@ vlc_module_begin ()
add_integer
(
"dvb-frequency"
,
0
,
FREQ_TEXT
,
FREQ_LONGTEXT
,
false
)
change_integer_range
(
0
,
UINT64_C
(
0xffffffff
)
*
1000
)
change_safe
()
add_string
(
"dvb-modulation"
,
0
,
MODULATION_TEXT
,
MODULATION_LONGTEXT
,
false
)
change_string_list
(
modulation_vlc
,
modulation_user
,
NULL
)
change_safe
()
add_integer
(
"dvb-inversion"
,
-
1
,
INVERSION_TEXT
,
INVERSION_LONGTEXT
,
true
)
change_integer_list
(
inversion_vlc
,
auto_off_on
)
change_safe
()
...
...
@@ -195,7 +191,11 @@ vlc_module_begin ()
change_integer_list
(
hierarchy_vlc
,
hierarchy_user
)
change_safe
()
set_section
(
N_
(
"Cable (DVB-C) and satellite (DVB-S) parameters"
),
NULL
)
set_section
(
N_
(
"Cable and satellite parameters"
),
NULL
)
add_string
(
"dvb-modulation"
,
0
,
MODULATION_TEXT
,
MODULATION_LONGTEXT
,
false
)
change_string_list
(
modulation_vlc
,
modulation_user
,
NULL
)
change_safe
()
add_integer
(
"dvb-srate"
,
0
,
SRATE_TEXT
,
SRATE_LONGTEXT
,
false
)
change_integer_range
(
0
,
UINT64_C
(
0xffffffff
))
change_safe
()
...
...
modules/access/dtv/linux.c
View file @
001cbdee
...
...
@@ -528,7 +528,7 @@ int dvb_set_dvbc (dvb_device_t *d, uint32_t freq, const char *modstr,
unsigned
mod
=
dvb_parse_modulation
(
modstr
,
QAM_AUTO
);
unsigned
fec
=
dvb_parse_fec
(
fecstr
);
return
dvb_set_props
(
d
,
5
,
DTV_CLEAR
,
0
,
return
dvb_set_props
(
d
,
6
,
DTV_CLEAR
,
0
,
DTV_DELIVERY_SYSTEM
,
SYS_DVBC_ANNEX_AC
,
DTV_FREQUENCY
,
freq
,
DTV_MODULATION
,
mod
,
DTV_SYMBOL_RATE
,
srate
,
DTV_INNER_FEC
,
fec
);
...
...
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