Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dvblast
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
dvblast
Commits
01ce71ae
Commit
01ce71ae
authored
Aug 09, 2011
by
Peter Martin
Committed by
Christophe Massiot
Aug 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dvb.c: ATSC tuning support * demux.c: Support for ATSC A/52 stream types.
parent
5154e8d0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
0 deletions
+32
-0
AUTHORS
AUTHORS
+4
-0
demux.c
demux.c
+4
-0
dvb.c
dvb.c
+24
-0
No files found.
AUTHORS
View file @
01ce71ae
...
@@ -17,6 +17,10 @@ E: a DOT j DOT gatward AT reading DOT ac DOT uk
...
@@ -17,6 +17,10 @@ E: a DOT j DOT gatward AT reading DOT ac DOT uk
C: gatty
C: gatty
D: EIT pass-through, IPv6 support, various bug fixes
D: EIT pass-through, IPv6 support, various bug fixes
N: Peter Partin
E: peter DOT martin AT tripleplay DASH servies DOT com
D: ATSC, MRTG, PID remap
N: Christophe Massiot
N: Christophe Massiot
E: massiot AT via DOT ecp DOT fr
E: massiot AT via DOT ecp DOT fr
C: massiot
C: massiot
...
...
demux.c
View file @
01ce71ae
...
@@ -1365,6 +1365,8 @@ static bool PIDWouldBeSelected( uint8_t *p_es )
...
@@ -1365,6 +1365,8 @@ static bool PIDWouldBeSelected( uint8_t *p_es )
case
0x10
:
/* video MPEG-4 */
case
0x10
:
/* video MPEG-4 */
case
0x11
:
/* audio AAC LATM */
case
0x11
:
/* audio AAC LATM */
case
0x1b
:
/* video H264 */
case
0x1b
:
/* video H264 */
case
0x81
:
/* ATSC A/52 */
case
0x87
:
/* ATSC Enhanced A/52 */
return
true
;
return
true
;
break
;
break
;
...
@@ -1416,6 +1418,8 @@ static bool PIDCarriesPES( const uint8_t *p_es )
...
@@ -1416,6 +1418,8 @@ static bool PIDCarriesPES( const uint8_t *p_es )
case
0x10
:
/* video MPEG-4 */
case
0x10
:
/* video MPEG-4 */
case
0x11
:
/* audio AAC LATM */
case
0x11
:
/* audio AAC LATM */
case
0x1b
:
/* video H264 */
case
0x1b
:
/* video H264 */
case
0x81
:
/* ATSC A/52 */
case
0x87
:
/* ATSC Enhanced A/52 */
return
true
;
return
true
;
break
;
break
;
...
...
dvb.c
View file @
01ce71ae
...
@@ -820,6 +820,18 @@ static struct dtv_properties dvbt_cmdseq = {
...
@@ -820,6 +820,18 @@ static struct dtv_properties dvbt_cmdseq = {
.
props
=
dvbt_cmdargs
.
props
=
dvbt_cmdargs
};
};
static
struct
dtv_property
atsc_cmdargs
[]
=
{
{
.
cmd
=
DTV_FREQUENCY
,
.
u
.
data
=
0
},
{
.
cmd
=
DTV_MODULATION
,
.
u
.
data
=
QAM_AUTO
},
{
.
cmd
=
DTV_INVERSION
,
.
u
.
data
=
INVERSION_AUTO
},
{
.
cmd
=
DTV_DELIVERY_SYSTEM
,
.
u
.
data
=
SYS_ATSC
},
{
.
cmd
=
DTV_TUNE
},
};
static
struct
dtv_properties
atsc_cmdseq
=
{
.
num
=
sizeof
(
atsc_cmdargs
)
/
sizeof
(
struct
dtv_property
),
.
props
=
atsc_cmdargs
};
#define FREQUENCY 0
#define FREQUENCY 0
#define MODULATION 1
#define MODULATION 1
#define INVERSION 2
#define INVERSION 2
...
@@ -919,6 +931,18 @@ static void FrontendSet( bool b_init )
...
@@ -919,6 +931,18 @@ static void FrontendSet( bool b_init )
psz_modulation
==
NULL
?
"legacy"
:
psz_modulation
,
i_pilot
);
psz_modulation
==
NULL
?
"legacy"
:
psz_modulation
,
i_pilot
);
break
;
break
;
case
FE_ATSC
:
p
=
&
atsc_cmdseq
;
p
->
props
[
FREQUENCY
].
u
.
data
=
i_frequency
;
p
->
props
[
INVERSION
].
u
.
data
=
GetInversion
();
if
(
psz_modulation
!=
NULL
)
p
->
props
[
MODULATION
].
u
.
data
=
GetModulation
();
msg_Dbg
(
NULL
,
"tuning ATSC frontend to f=%d inversion=%d modulation=%s"
,
i_frequency
,
i_inversion
,
psz_modulation
==
NULL
?
"qam_auto"
:
psz_modulation
);
break
;
default:
default:
msg_Err
(
NULL
,
"unknown frontend type %d"
,
info
.
type
);
msg_Err
(
NULL
,
"unknown frontend type %d"
,
info
.
type
);
exit
(
1
);
exit
(
1
);
...
...
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