Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
63eba9ef
Commit
63eba9ef
authored
Nov 03, 2004
by
gbazin
Browse files
* modules/mux/mpeg/pes.c: for mpgv, don't store dts if pts == dts.
parent
08b960e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/mux/mpeg/pes.c
View file @
63eba9ef
...
...
@@ -95,7 +95,8 @@ static inline int PESHeader( uint8_t *p_hdr, mtime_t i_pts, mtime_t i_dts,
int
i_pts_dts
;
if
(
i_pts
>
0
&&
i_dts
>
0
&&
(
i_pts
!=
i_dts
||
p_fmt
->
i_cat
==
VIDEO_ES
)
)
(
i_pts
!=
i_dts
||
(
p_fmt
->
i_cat
==
VIDEO_ES
&&
p_fmt
->
i_codec
!=
VLC_FOURCC
(
'm'
,
'p'
,
'g'
,
'v'
)
)
)
)
{
i_pts_dts
=
0x03
;
if
(
!
i_header_size
)
i_header_size
=
0xa
;
...
...
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