vp8enc: fix keyframe forcing

This commit is contained in:
Mark Nauwelaerts 2011-03-24 10:15:55 +01:00
parent d0753dec9b
commit 3d09056c70
2 changed files with 1 additions and 2 deletions

View file

@ -805,7 +805,7 @@ gst_vp8_enc_handle_frame (GstBaseVideoEncoder * base_video_encoder,
hook->image = image;
frame->coder_hook = hook;
if (encoder->force_keyframe) {
if (frame->force_keyframe) {
flags |= VPX_EFLAG_FORCE_KF;
}

View file

@ -73,7 +73,6 @@ struct _GstVP8Enc
gboolean auto_alt_ref_frames;
/* state */
gboolean force_keyframe;
gboolean inited;
int n_frames;