Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Philippe Normand
gst-plugins-bad
Commits
add2c0c3
Commit
add2c0c3
authored
Mar 23, 2018
by
James Stevenson
Committed by
Tim-Philipp Müller
Mar 23, 2018
Browse files
x265: Fix tagging of keyframes on output buffers
https://bugzilla.gnome.org/show_bug.cgi?id=794620
parent
b647888d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ext/x265/gstx265enc.c
View file @
add2c0c3
...
...
@@ -1118,6 +1118,10 @@ gst_x265_enc_encode_frame (GstX265Enc * encoder, x265_picture * pic_in,
offset
+=
nal
[
i
].
sizeBytes
;
}
if
(
pic_out
.
sliceType
==
X265_TYPE_IDR
||
pic_out
.
sliceType
==
X265_TYPE_I
)
{
GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT
(
frame
);
}
frame
->
output_buffer
=
out_buf
;
if
(
encoder
->
push_header
)
{
...
...
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