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
7912249c
Commit
7912249c
authored
Sep 29, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly disable ISDB-T code with Linux DVB 5.0
parent
b64c3038
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/access/dtv/linux.c
modules/access/dtv/linux.c
+6
-0
No files found.
modules/access/dtv/linux.c
View file @
7912249c
...
@@ -929,6 +929,7 @@ int dvb_set_isdbs (dvb_device_t *d, uint64_t freq_Hz, uint16_t ts_id)
...
@@ -929,6 +929,7 @@ int dvb_set_isdbs (dvb_device_t *d, uint64_t freq_Hz, uint16_t ts_id)
/*** ISDB-T ***/
/*** ISDB-T ***/
#if DVBv5(1)
static
int
dvb_set_isdbt_layer
(
dvb_device_t
*
d
,
unsigned
num
,
static
int
dvb_set_isdbt_layer
(
dvb_device_t
*
d
,
unsigned
num
,
const
isdbt_layer_t
*
l
)
const
isdbt_layer_t
*
l
)
{
{
...
@@ -945,6 +946,7 @@ static int dvb_set_isdbt_layer (dvb_device_t *d, unsigned num,
...
@@ -945,6 +946,7 @@ static int dvb_set_isdbt_layer (dvb_device_t *d, unsigned num,
DTV_ISDBT_LAYERA_SEGMENT_COUNT
+
num
,
count
,
DTV_ISDBT_LAYERA_SEGMENT_COUNT
+
num
,
count
,
DTV_ISDBT_LAYERA_TIME_INTERLEAVING
+
num
,
ti
);
DTV_ISDBT_LAYERA_TIME_INTERLEAVING
+
num
,
ti
);
}
}
#endif
int
dvb_set_isdbt
(
dvb_device_t
*
d
,
uint32_t
freq
,
uint32_t
bandwidth
,
int
dvb_set_isdbt
(
dvb_device_t
*
d
,
uint32_t
freq
,
uint32_t
bandwidth
,
int
transmit_mode
,
uint32_t
guard
,
int
transmit_mode
,
uint32_t
guard
,
...
@@ -967,6 +969,10 @@ int dvb_set_isdbt (dvb_device_t *d, uint32_t freq, uint32_t bandwidth,
...
@@ -967,6 +969,10 @@ int dvb_set_isdbt (dvb_device_t *d, uint32_t freq, uint32_t bandwidth,
return
0
;
return
0
;
#else
#else
# warning ISDB-T needs Linux DVB version 5.1 or later.
# warning ISDB-T needs Linux DVB version 5.1 or later.
msg_Err
(
d
->
obj
,
"ISDB-T support not compiled-in"
);
(
void
)
freq
;
(
void
)
bandwidth
;
(
void
)
transmit_mode
;
(
void
)
guard
;
(
void
)
layers
;
return
-
1
;
#endif
#endif
}
}
...
...
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