Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
bc61326a
Commit
bc61326a
authored
Jun 03, 2005
by
gbazin
Browse files
* modules/demux/mp4/mp4.c: fixed timestamping (PTS) bug.
parent
d6a96b04
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/mp4/mp4.c
View file @
bc61326a
...
...
@@ -690,7 +690,7 @@ static int Demux( demux_t *p_demux )
p_block
->
i_dts
=
MP4_TrackGetDTS
(
p_demux
,
tk
)
+
1
;
/* pts */
i_delta
=
MP4_TrackGetPTSDelta
(
p_demux
,
tk
);
if
(
i_delta
>
=
0
)
if
(
i_delta
!
=
-
1
)
p_block
->
i_pts
=
p_block
->
i_dts
+
i_delta
;
else
if
(
tk
->
fmt
.
i_cat
!=
VIDEO_ES
)
p_block
->
i_pts
=
p_block
->
i_dts
;
...
...
Write
Preview
Supports
Markdown
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