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
8e123be7
Commit
8e123be7
authored
Dec 17, 2015
by
Petri Hintukainen
Committed by
Jean-Baptiste Kempf
Dec 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg-ts: fix PCRCheckDTS() with broken PCR
Fixes #16148 Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
c84a1a1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
modules/demux/mpeg/ts.c
modules/demux/mpeg/ts.c
+5
-0
No files found.
modules/demux/mpeg/ts.c
View file @
8e123be7
...
...
@@ -3091,6 +3091,11 @@ static void PCRCheckDTS( demux_t *p_demux, ts_pmt_t *p_pmt, mtime_t i_pcr)
&
i_dts
,
&
i_pts
,
&
i_stream_id
)
==
VLC_EGENERIC
)
continue
;
if
(
p_pmt
->
pcr
.
i_pcroffset
>
0
)
{
i_dts
+=
p_pmt
->
pcr
.
i_pcroffset
;
i_pts
+=
p_pmt
->
pcr
.
i_pcroffset
;
}
if
((
i_dts
>
0
&&
i_dts
<=
i_pcr
)
||
(
i_pts
>
0
&&
i_pts
<=
i_pcr
))
{
msg_Err
(
p_demux
,
"send queued data for pid %d: DTS %"
PRId64
" >= PCR %"
PRId64
"
\n
"
,
p_pid
->
i_pid
,
i_dts
,
i_pcr
);
ParseData
(
p_demux
,
p_pid
);
...
...
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