mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
[MOVED FROM BAD 066/134] vp8enc: fix keyframe forcing
This commit is contained in:
parent
e68033782b
commit
33ec5fd08f
2 changed files with 1 additions and 2 deletions
|
@ -805,7 +805,7 @@ gst_vp8_enc_handle_frame (GstBaseVideoEncoder * base_video_encoder,
|
||||||
hook->image = image;
|
hook->image = image;
|
||||||
frame->coder_hook = hook;
|
frame->coder_hook = hook;
|
||||||
|
|
||||||
if (encoder->force_keyframe) {
|
if (frame->force_keyframe) {
|
||||||
flags |= VPX_EFLAG_FORCE_KF;
|
flags |= VPX_EFLAG_FORCE_KF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,6 @@ struct _GstVP8Enc
|
||||||
gboolean auto_alt_ref_frames;
|
gboolean auto_alt_ref_frames;
|
||||||
|
|
||||||
/* state */
|
/* state */
|
||||||
gboolean force_keyframe;
|
|
||||||
gboolean inited;
|
gboolean inited;
|
||||||
|
|
||||||
int n_frames;
|
int n_frames;
|
||||||
|
|
Loading…
Reference in a new issue