Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
1a5b4bf2
Commit
1a5b4bf2
authored
May 11, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Linux DVB: conditionally enable DVB-T2
The missing definitions are 3-days old...
parent
422238b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
modules/access/dtv/linux.c
modules/access/dtv/linux.c
+5
-4
No files found.
modules/access/dtv/linux.c
View file @
1a5b4bf2
...
...
@@ -707,7 +707,7 @@ static int dvb_parse_transmit_mode (int i)
{
static
const
dvb_int_map_t
tab
[]
=
{
{
-
1
,
TRANSMISSION_MODE_AUTO
},
#if
0
#if
DVBv5(3)
{
1
,
TRANSMISSION_MODE_1K
},
#endif
{
2
,
TRANSMISSION_MODE_2K
},
...
...
@@ -715,7 +715,7 @@ static int dvb_parse_transmit_mode (int i)
{
4
,
TRANSMISSION_MODE_4K
},
#endif
{
8
,
TRANSMISSION_MODE_8K
},
#if
0
#if
DVBv5(3)
{
16
,
TRANSMISSION_MODE_16K
},
{
32
,
TRANSMISSION_MODE_32K
},
#endif
...
...
@@ -731,7 +731,7 @@ static int dvb_parse_guard (uint32_t guard)
{
VLC_GUARD
(
1
,
8
),
GUARD_INTERVAL_1_8
},
{
VLC_GUARD
(
1
,
16
),
GUARD_INTERVAL_1_16
},
{
VLC_GUARD
(
1
,
32
),
GUARD_INTERVAL_1_32
},
#if
0
#if
DVBv5(3)
{
VLC_GUARD
(
1
,
128
),
GUARD_INTERVAL_1_128
},
{
VLC_GUARD
(
19
,
128
),
GUARD_INTERVAL_19_128
},
{
VLC_GUARD
(
19
,
256
),
GUARD_INTERVAL_19_256
},
...
...
@@ -780,7 +780,7 @@ 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
#if
DVBv5(3)
uint32_t
mod
=
dvb_parse_modulation
(
modstr
,
QAM_AUTO
);
fec
=
dvb_parse_fec
(
fec
);
bandwidth
*=
1000000
;
...
...
@@ -793,6 +793,7 @@ int dvb_set_dvbt2 (dvb_device_t *d, uint32_t freq, const char *modstr,
DTV_TRANSMISSION_MODE
,
transmit_mode
,
DTV_GUARD_INTERVAL
,
guard
);
#else
# warning DVB-T2 needs Linux DVB version 5.3 or later.
msg_Err
(
d
->
obj
,
"DVB-T2 support not compiled-in"
);
(
void
)
freq
;
(
void
)
modstr
;
(
void
)
fec
;
(
void
)
bandwidth
;
(
void
)
transmit_mode
;
(
void
)
guard
;
...
...
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