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
4c49d3e1
Commit
4c49d3e1
authored
May 31, 2013
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TS mux: use DTS if PTS is not available
Ensure video can be decoded by VLC
parent
5a43de50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
modules/mux/mpeg/ts.c
modules/mux/mpeg/ts.c
+2
-0
No files found.
modules/mux/mpeg/ts.c
View file @
4c49d3e1
...
...
@@ -1286,6 +1286,8 @@ static bool MuxStreams(sout_mux_t *p_mux )
||
p_input
->
p_fmt
->
i_codec
!=
VLC_CODEC_MPGA
)
{
p_data
=
block_FifoGet
(
p_input
->
p_fifo
);
if
(
p_data
->
i_pts
<=
VLC_TS_INVALID
)
p_data
->
i_pts
=
p_data
->
i_dts
;
if
(
p_input
->
p_fmt
->
i_codec
==
VLC_CODEC_MP4A
)
p_data
=
Add_ADTS
(
p_data
,
p_input
->
p_fmt
);
...
...
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