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
fd0970ab
Commit
fd0970ab
authored
Feb 18, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DTV: DVB-T2 PLP ID is between 0 and 255
parent
80d88b05
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
modules/access/dtv/access.c
modules/access/dtv/access.c
+1
-1
modules/access/dtv/bdagraph.cpp
modules/access/dtv/bdagraph.cpp
+1
-1
modules/access/dtv/dtv.h
modules/access/dtv/dtv.h
+1
-1
modules/access/dtv/linux.c
modules/access/dtv/linux.c
+2
-2
No files found.
modules/access/dtv/access.c
View file @
fd0970ab
...
...
@@ -301,7 +301,7 @@ vlc_module_begin ()
change_integer_list
(
hierarchy_vlc
,
hierarchy_user
)
change_safe
()
add_integer
(
"dvb-plp-id"
,
0
,
PLP_ID_TEXT
,
PLP_ID_TEXT
,
false
)
change_integer_range
(
0
,
0xFFFFFFFF
)
change_integer_range
(
0
,
255
)
change_safe
()
set_section
(
N_
(
"ISDB-T reception parameters"
),
NULL
)
...
...
modules/access/dtv/bdagraph.cpp
View file @
fd0970ab
...
...
@@ -238,7 +238,7 @@ int dvb_set_dvbt (dvb_device_t *d, uint32_t freq, const char * /*mod*/,
/* DVB-T2 */
int
dvb_set_dvbt2
(
dvb_device_t
*
d
,
uint32_t
freq
,
const
char
*
/*mod*/
,
uint32_t
fec
,
uint32_t
bandwidth
,
int
transmission
,
uint32_t
guard
,
uint
32
_t
plp
)
uint32_t
guard
,
uint
8
_t
plp
)
{
return
d
->
module
->
SetDVBT2
(
freq
/
1000
,
fec
,
bandwidth
,
transmission
,
guard
,
plp
);
...
...
modules/access/dtv/dtv.h
View file @
fd0970ab
...
...
@@ -85,7 +85,7 @@ int dvb_set_dvbt (dvb_device_t *, uint32_t freq, const char *mod,
int
transmission
,
uint32_t
guard
,
int
hierarchy
);
int
dvb_set_dvbt2
(
dvb_device_t
*
,
uint32_t
freq
,
const
char
*
mod
,
uint32_t
fec
,
uint32_t
bandwidth
,
int
transmission
,
uint32_t
guard
,
uint
32
_t
plp
);
int
transmission
,
uint32_t
guard
,
uint
8
_t
plp
);
/* ATSC */
int
dvb_set_atsc
(
dvb_device_t
*
,
uint32_t
freq
,
const
char
*
mod
);
...
...
modules/access/dtv/linux.c
View file @
fd0970ab
...
...
@@ -1004,7 +1004,7 @@ int dvb_set_dvbt (dvb_device_t *d, uint32_t freq, const char *modstr,
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
,
uint
32
_t
plp
)
int
transmit_mode
,
uint32_t
guard
,
uint
8
_t
plp
)
{
#if DVBv5(3)
uint32_t
mod
=
dvb_parse_modulation
(
modstr
,
QAM_AUTO
);
...
...
@@ -1025,7 +1025,7 @@ int dvb_set_dvbt2 (dvb_device_t *d, uint32_t freq, const char *modstr,
# else
DTV_DVBT2_PLP_ID
,
# endif
plp
);
(
uint32_t
)
plp
);
#else
# warning DVB-T2 needs Linux DVB version 5.3 or later.
msg_Err
(
d
->
obj
,
"DVB-T2 support not compiled-in"
);
...
...
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