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
c464008e
Commit
c464008e
authored
Feb 14, 2005
by
Steve Lhomme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mkv.cpp: don't wait for frames that won't be displayed when seeking
parent
f4b7aa82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+1
-3
No files found.
modules/demux/mkv.cpp
View file @
c464008e
...
...
@@ -1358,8 +1358,6 @@ static void BlockDecode( demux_t *p_demux, KaxBlock *block, mtime_t i_pts,
if
(
i_pts
<
p_sys
->
i_start_pts
)
{
p_block
->
i_pts
=
-
1
;
p_block
->
i_dts
=
-
1
;
/* p_block->i_flags |= BLOCK_FLAG_DISCONTINUITY;*/
}
else
if
(
tk
.
fmt
.
i_cat
!=
VIDEO_ES
)
{
...
...
@@ -1559,7 +1557,7 @@ static int Demux( demux_t *p_demux)
p_sys
->
i_pts
=
block
->
GlobalTimecode
()
/
(
mtime_t
)
1000
;
if
(
p_sys
->
i_pts
>
0
)
if
(
p_sys
->
i_pts
>
p_sys
->
i_start_pts
)
{
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_PCR
,
p_sys
->
i_pts
);
}
...
...
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