shithub: libvpx

Download patch

ref: 768b6b5e0d04d985d830825010319ba1bdf23df3
parent: 14f132648a53bb40e1d81fdce10b494656366b46
parent: f46b66ac83279e5403091d307cd3be7d97059949
author: Jerome Jiang <jianj@google.com>
date: Wed Jan 27 15:08:47 EST 2021

Merge "svc: turn off use_base_mv on non base layer."

--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -7885,7 +7885,7 @@
   cm->cur_frame = &pool->frame_bufs[cm->new_fb_idx];
   // If the frame buffer for current frame is the same as previous frame, MV in
   // the base layer shouldn't be used as it'll cause data race.
-  if (cm->cur_frame == cm->prev_frame) {
+  if (cpi->svc.spatial_layer_id > 0 && cm->cur_frame == cm->prev_frame) {
     cpi->svc.use_base_mv = 0;
   }
   // Start with a 0 size frame.