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
d1627ea8
Commit
d1627ea8
authored
May 11, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DTV: Linux DVB-T2 support (if'd out)
parent
d20f0f18
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
modules/access/dtv/linux.c
modules/access/dtv/linux.c
+24
-0
No files found.
modules/access/dtv/linux.c
View file @
d1627ea8
...
@@ -776,6 +776,30 @@ int dvb_set_dvbt (dvb_device_t *d, uint32_t freq, const char *modstr,
...
@@ -776,6 +776,30 @@ int dvb_set_dvbt (dvb_device_t *d, uint32_t freq, const char *modstr,
DTV_HIERARCHY
,
hierarchy
);
DTV_HIERARCHY
,
hierarchy
);
}
}
int
dvb_set_dvbt2
(
dvb_device_t
*
d
,
uint32_t
freq
,
const
char
*
modstr
,
uint32_t
fec
,
uint32_t
bandwidth
,
int
transmit_mode
,
uint32_t
guard
)
{
#if 0
uint32_t mod = dvb_parse_modulation (modstr, QAM_AUTO);
fec = dvb_parse_fec (fec);
bandwidth *= 1000000;
transmit_mode = dvb_parse_transmit_mode (transmit_mode);
guard = dvb_parse_guard (guard);
return dvb_set_props (d, 8, DTV_CLEAR, 0, DTV_DELIVERY_SYSTEM, SYS_DVBT2,
DTV_FREQUENCY, freq * 1000, DTV_MODULATION, mod,
DTV_INNER_FEC, fec, DTV_BANDWIDTH_HZ, bandwidth,
DTV_TRANSMISSION_MODE, transmit_mode,
DTV_GUARD_INTERVAL, guard);
#else
msg_Err
(
d
->
obj
,
"DVB-T2 support not compiled-in"
);
(
void
)
freq
;
(
void
)
modstr
;
(
void
)
fec
;
(
void
)
bandwidth
;
(
void
)
transmit_mode
;
(
void
)
guard
;
return
-
1
;
#endif
}
/*** ATSC ***/
/*** ATSC ***/
int
dvb_set_atsc
(
dvb_device_t
*
d
,
uint32_t
freq
,
const
char
*
modstr
)
int
dvb_set_atsc
(
dvb_device_t
*
d
,
uint32_t
freq
,
const
char
*
modstr
)
...
...
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