Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
2d279153
Commit
2d279153
authored
Mar 03, 2016
by
François Cartegnie
🤞
Browse files
demux: ts: rename psip base pid tracking reference on pmt
parent
06f6d941
Changes
2
Show whitespace changes
Inline
Side-by-side
modules/demux/mpeg/ts_psi.c
View file @
2d279153
...
...
@@ -1442,8 +1442,8 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_dvbpsipmt )
pid_to_decref
.
i_alloc
=
p_pmt
->
e_streams
.
i_alloc
;
pid_to_decref
.
i_size
=
p_pmt
->
e_streams
.
i_size
;
pid_to_decref
.
p_elems
=
p_pmt
->
e_streams
.
p_elems
;
if
(
p_pmt
->
p_
mgt
)
ARRAY_APPEND
(
pid_to_decref
,
p_pmt
->
p_
mgt
);
if
(
p_pmt
->
p_
atsc_si_basepid
)
ARRAY_APPEND
(
pid_to_decref
,
p_pmt
->
p_
atsc_si_basepid
);
ARRAY_INIT
(
p_pmt
->
e_streams
);
if
(
p_pmt
->
iod
)
...
...
@@ -1657,7 +1657,7 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_dvbpsipmt )
}
else
{
p_pmt
->
p_
mgt
=
atsc_base_pid
;
p_pmt
->
p_
atsc_si_basepid
=
atsc_base_pid
;
SetPIDFilter
(
p_demux
->
p_sys
,
atsc_base_pid
,
true
);
msg_Dbg
(
p_demux
,
" * pid=%d listening for MGT/STT"
,
atsc_base_pid
->
i_pid
);
...
...
modules/demux/mpeg/ts_streams_private.h
View file @
2d279153
...
...
@@ -49,7 +49,7 @@ struct ts_pmt_t
DECL_ARRAY
(
ts_pid_t
*
)
e_streams
;
ts_pid_t
*
p_
mgt
;
ts_pid_t
*
p_
atsc_si_basepid
;
struct
{
...
...
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