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
d20f0f18
Commit
d20f0f18
authored
May 11, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Linux DVB: fix guard intervals table order and DVB-T2 parameters
parent
420f73d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
modules/access/dtv/linux.c
modules/access/dtv/linux.c
+10
-5
No files found.
modules/access/dtv/linux.c
View file @
d20f0f18
...
...
@@ -707,6 +707,9 @@ static int dvb_parse_transmit_mode (int i)
{
static
const
dvb_int_map_t
tab
[]
=
{
{
-
1
,
TRANSMISSION_MODE_AUTO
},
#if 0
{ 1, TRANSMISSION_MODE_1K },
#endif
{
2
,
TRANSMISSION_MODE_2K
},
#if DVBv5(1)
{
4
,
TRANSMISSION_MODE_4K
},
...
...
@@ -724,13 +727,15 @@ static int dvb_parse_transmit_mode (int i)
static
int
dvb_parse_guard
(
uint32_t
guard
)
{
static
const
dvb_int_map_t
tab
[]
=
{
/*{ VLC_GUARD(1,128), GUARD_INTERVAL_1_128 },*/
{
VLC_GUARD
(
1
,
16
),
GUARD_INTERVAL_1_16
},
{
VLC_GUARD
(
1
,
32
),
GUARD_INTERVAL_1_32
},
{
VLC_GUARD
(
1
,
4
),
GUARD_INTERVAL_1_4
},
{
VLC_GUARD
(
1
,
8
),
GUARD_INTERVAL_1_8
},
/*{ VLC_GUARD(19,128), GUARD_INTERVAL_19_128 },*/
/*{ VLC_GUARD(9,256), GUARD_INTERVAL_9_256 },*/
{
VLC_GUARD
(
1
,
16
),
GUARD_INTERVAL_1_16
},
{
VLC_GUARD
(
1
,
32
),
GUARD_INTERVAL_1_32
},
#if 0
{ VLC_GUARD(1,128), GUARD_INTERVAL_1_128 },
{ VLC_GUARD(19,128), GUARD_INTERVAL_19_128 },
{ VLC_GUARD(19,256), GUARD_INTERVAL_19_256 },
#endif
{
VLC_GUARD_AUTO
,
GUARD_INTERVAL_AUTO
},
};
return
dvb_parse_int
(
guard
,
tab
,
sizeof
(
tab
)
/
sizeof
(
*
tab
),
...
...
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