]> granicus.if.org Git - libvpx/commitdiff
vp8: Allow higher resolution to get periodic keyframe.
authorJerome Jiang <jianj@google.com>
Wed, 19 Jun 2019 22:26:05 +0000 (15:26 -0700)
committerJerome Jiang <jianj@google.com>
Wed, 19 Jun 2019 22:26:54 +0000 (15:26 -0700)
BUG=webm:1632

Change-Id: Ib05a010245e77f9d502c3e7b8f488fca280ea544

vpx/src/vpx_encoder.c

index f38577de6ce42bbab7385532f29991134abd4dee..c227ee902d98f1a8cace6e625e866e0961a6ce6a 100644 (file)
@@ -104,12 +104,6 @@ vpx_codec_err_t vpx_codec_enc_init_multi_ver(
           mr_cfg.mr_down_sampling_factor.num = dsf->num;
           mr_cfg.mr_down_sampling_factor.den = dsf->den;
 
-          /* Force Key-frame synchronization. Namely, encoder at higher
-           * resolution always use the same frame_type chosen by the
-           * lowest-resolution encoder.
-           */
-          if (mr_cfg.mr_encoder_id) cfg->kf_mode = VPX_KF_DISABLED;
-
           ctx->iface = iface;
           ctx->name = iface->name;
           ctx->priv = NULL;