mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
vp8enc: Fix setting of the keyframe flag on encoded frames
This commit is contained in:
parent
dd97378702
commit
09c879ea21
1 changed files with 1 additions and 1 deletions
|
@ -641,8 +641,8 @@ gst_vp8_enc_handle_frame (GstBaseVideoEncoder * base_video_encoder,
|
||||||
}
|
}
|
||||||
|
|
||||||
invisible = (pkt->data.frame.flags & VPX_FRAME_IS_INVISIBLE) != 0;
|
invisible = (pkt->data.frame.flags & VPX_FRAME_IS_INVISIBLE) != 0;
|
||||||
frame->is_sync_point = (pkt->data.frame.flags & VPX_FRAME_IS_KEY) != 0;
|
|
||||||
frame = gst_base_video_encoder_get_oldest_frame (base_video_encoder);
|
frame = gst_base_video_encoder_get_oldest_frame (base_video_encoder);
|
||||||
|
frame->is_sync_point = (pkt->data.frame.flags & VPX_FRAME_IS_KEY) != 0;
|
||||||
hook = frame->coder_hook;
|
hook = frame->coder_hook;
|
||||||
/* FIXME: If frame is NULL something went really wrong! */
|
/* FIXME: If frame is NULL something went really wrong! */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue