Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
39d87a89
Commit
39d87a89
authored
Mar 03, 2005
by
Steve Lhomme
Browse files
mkv.cpp: fix stuttering issue on timestamp (could be cleaner)
parent
e6aa9d09
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/mkv.cpp
View file @
39d87a89
...
...
@@ -1420,14 +1420,15 @@ static void BlockDecode( demux_t *p_demux, KaxBlock *block, mtime_t i_pts,
}
#endif
// TODO implement correct timestamping when B frames are used
if
(
tk
.
fmt
.
i_cat
!=
VIDEO_ES
)
{
p_block
->
i_dts
=
p_block
->
i_pts
=
i_pts
;
}
else
{
p_block
->
i_
p
ts
=
i_pts
;
p_block
->
i_
d
ts
=
0
;
p_block
->
i_
d
ts
=
i_pts
;
p_block
->
i_
p
ts
=
0
;
}
if
(
tk
.
fmt
.
i_cat
==
SPU_ES
&&
strcmp
(
tk
.
psz_codec
,
"S_VOBSUB"
)
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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