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
ae74559c
Commit
ae74559c
authored
Jun 26, 2010
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ts-mux: repeat sps/pps on keyframes, should fix h264/ts streaming issues (hopefully)
parent
a1aae98a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/mux/mpeg/pes.c
modules/mux/mpeg/pes.c
+4
-2
No files found.
modules/mux/mpeg/pes.c
View file @
ae74559c
...
...
@@ -341,10 +341,12 @@ int EStoPES ( sout_instance_t *p_sout, block_t **pp_pes, block_t *p_es,
i_max_pes_size
=
PES_PAYLOAD_SIZE_MAX
;
}
if
(
p_fmt
->
i_codec
==
VLC_CODEC_MP4V
&&
if
(
(
p_fmt
->
i_codec
==
VLC_CODEC_MP4V
||
p_fmt
->
i_codec
==
VLC_CODEC_H264
)
&&
p_es
->
i_flags
&
BLOCK_FLAG_TYPE_I
)
{
/* For MPEG4 video, add VOL before I-frames */
/* For MPEG4 video, add VOL before I-frames,
for H264 add SPS/PPS before keyframes*/
p_es
=
block_Realloc
(
p_es
,
p_fmt
->
i_extra
,
p_es
->
i_buffer
);
memcpy
(
p_es
->
p_buffer
,
p_fmt
->
p_extra
,
p_fmt
->
i_extra
);
...
...
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