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
21e00619
Commit
21e00619
authored
Nov 20, 2012
by
Denis Charmet
Committed by
Jean-Baptiste Kempf
Nov 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle possible negative timestamps in MKV
Fix #7751 Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
f51013b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/demux/mkv/mkv.cpp
modules/demux/mkv/mkv.cpp
+2
-2
No files found.
modules/demux/mkv/mkv.cpp
View file @
21e00619
...
...
@@ -722,9 +722,9 @@ static int Demux( demux_t *p_demux)
}
if
(
simpleblock
!=
NULL
)
p_sys
->
i_pts
=
p_sys
->
i_chapter_time
+
(
simpleblock
->
GlobalTimecode
()
/
(
mtime_t
)
1000
);
p_sys
->
i_pts
=
p_sys
->
i_chapter_time
+
(
(
mtime_t
)
simpleblock
->
GlobalTimecode
()
/
INT64_C
(
1000
)
);
else
p_sys
->
i_pts
=
p_sys
->
i_chapter_time
+
(
block
->
GlobalTimecode
()
/
(
mtime_t
)
1000
);
p_sys
->
i_pts
=
p_sys
->
i_chapter_time
+
(
(
mtime_t
)
block
->
GlobalTimecode
()
/
INT64_C
(
1000
)
);
mtime_t
i_pcr
=
VLC_TS_INVALID
;
for
(
size_t
i
=
0
;
i
<
p_segment
->
tracks
.
size
();
i
++
)
...
...
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