Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
e5234448
Commit
e5234448
authored
May 13, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/ts.c: keep compatibility with non-DVB streams (SDT/EDT issue).
parent
9024ec1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
modules/demux/ts.c
modules/demux/ts.c
+16
-3
No files found.
modules/demux/ts.c
View file @
e5234448
...
...
@@ -2420,9 +2420,22 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
if
(
!
old_pid
&&
p_sys
->
pid
[
p_es
->
i_pid
].
b_valid
)
{
msg_Warn
(
p_demux
,
"pmt error: pid=%d already defined"
,
p_es
->
i_pid
);
continue
;
ts_pid_t
*
pid
=
&
p_sys
->
pid
[
p_es
->
i_pid
];
if
(
(
pid
->
i_pid
==
0x11
/* SDT */
||
pid
->
i_pid
==
0x12
/* EDT */
)
&&
pid
->
psi
)
{
/* This doesn't look like a DVB stream so don't try
* parsing the SDT/EDT */
dvbpsi_DetachDemux
(
pid
->
psi
->
handle
);
free
(
pid
->
psi
);
pid
->
psi
=
0
;
}
else
{
msg_Warn
(
p_demux
,
"pmt error: pid=%d already defined"
,
p_es
->
i_pid
);
continue
;
}
}
PIDInit
(
pid
,
VLC_FALSE
,
pmt
->
psi
);
...
...
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