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
29a8ff8d
Commit
29a8ff8d
authored
Sep 13, 2005
by
gbazin
Browse files
* modules/packetizer/h264.c: date SPS and PPS blocks built from the codec extradata.
parent
af355abd
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/packetizer/h264.c
View file @
29a8ff8d
...
...
@@ -182,6 +182,7 @@ static int Open( vlc_object_t *p_this )
int
i_length
=
GetWBE
(
p
);
block_t
*
p_sps
=
nal_get_annexeb
(
p_dec
,
p
+
2
,
i_length
);
p_sps
->
i_pts
=
p_sps
->
i_dts
=
mdate
();
ParseNALBlock
(
p_dec
,
p_sps
);
p
+=
2
+
i_length
;
}
...
...
@@ -192,6 +193,7 @@ static int Open( vlc_object_t *p_this )
int
i_length
=
GetWBE
(
p
);
block_t
*
p_pps
=
nal_get_annexeb
(
p_dec
,
p
+
2
,
i_length
);
p_pps
->
i_pts
=
p_pps
->
i_dts
=
mdate
();
ParseNALBlock
(
p_dec
,
p_pps
);
p
+=
2
+
i_length
;
}
...
...
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