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
03e94d89
Commit
03e94d89
authored
Aug 29, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tuning DVB-T/T2 and ATSC
parent
096cd15e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/access/dtv/linux.c
modules/access/dtv/linux.c
+4
-4
No files found.
modules/access/dtv/linux.c
View file @
03e94d89
...
...
@@ -875,7 +875,7 @@ int dvb_set_dvbt (dvb_device_t *d, uint32_t freq, const char *modstr,
if
(
dvb_find_frontend
(
d
,
FE_OFDM
,
FE_IS_STUPID
))
return
-
1
;
return
dvb_set_props
(
d
,
10
,
DTV_CLEAR
,
0
,
DTV_DELIVERY_SYSTEM
,
SYS_DVBT
,
DTV_FREQUENCY
,
freq
*
1000
,
DTV_MODULATION
,
mod
,
DTV_FREQUENCY
,
freq
,
DTV_MODULATION
,
mod
,
DTV_CODE_RATE_HP
,
fec_hp
,
DTV_CODE_RATE_LP
,
fec_lp
,
DTV_BANDWIDTH_HZ
,
bandwidth
,
DTV_TRANSMISSION_MODE
,
transmit_mode
,
...
...
@@ -897,7 +897,7 @@ int dvb_set_dvbt2 (dvb_device_t *d, uint32_t freq, const char *modstr,
if
(
dvb_find_frontend
(
d
,
FE_OFDM
,
FE_CAN_2G_MODULATION
))
return
-
1
;
return
dvb_set_props
(
d
,
8
,
DTV_CLEAR
,
0
,
DTV_DELIVERY_SYSTEM
,
SYS_DVBT2
,
DTV_FREQUENCY
,
freq
*
1000
,
DTV_MODULATION
,
mod
,
DTV_FREQUENCY
,
freq
,
DTV_MODULATION
,
mod
,
DTV_INNER_FEC
,
fec
,
DTV_BANDWIDTH_HZ
,
bandwidth
,
DTV_TRANSMISSION_MODE
,
transmit_mode
,
DTV_GUARD_INTERVAL
,
guard
);
...
...
@@ -979,7 +979,7 @@ int dvb_set_atsc (dvb_device_t *d, uint32_t freq, const char *modstr)
if
(
dvb_find_frontend
(
d
,
FE_ATSC
,
FE_IS_STUPID
))
return
-
1
;
return
dvb_set_props
(
d
,
4
,
DTV_CLEAR
,
0
,
DTV_DELIVERY_SYSTEM
,
SYS_ATSC
,
DTV_FREQUENCY
,
freq
*
1000
,
DTV_MODULATION
,
mod
);
DTV_FREQUENCY
,
freq
,
DTV_MODULATION
,
mod
);
}
int
dvb_set_cqam
(
dvb_device_t
*
d
,
uint32_t
freq
,
const
char
*
modstr
)
...
...
@@ -990,5 +990,5 @@ int dvb_set_cqam (dvb_device_t *d, uint32_t freq, const char *modstr)
return
-
1
;
return
dvb_set_props
(
d
,
4
,
DTV_CLEAR
,
0
,
DTV_DELIVERY_SYSTEM
,
SYS_DVBC_ANNEX_B
,
DTV_FREQUENCY
,
freq
*
1000
,
DTV_MODULATION
,
mod
);
DTV_FREQUENCY
,
freq
,
DTV_MODULATION
,
mod
);
}
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