shithub: libvpx

Download patch

ref: b5d77a48d740e211a130c8e45d9353ef8c154a47
parent: 3f7fee29edf407e432bbbbccf4242e93cbaccc5f
author: Jerome Jiang <jianj@google.com>
date: Mon Nov 16 09:12:50 EST 2020

Remove condition on copying svc loopfilter flag

Change-Id: Ib37ef0aa3dc0ec73b25332be6d89969093bd7aeb

--- a/vp9/encoder/vp9_svc_layercontext.c
+++ b/vp9/encoder/vp9_svc_layercontext.c
@@ -357,8 +357,7 @@
   if (is_one_pass_cbr_svc(cpi) && lc->speed > 0) {
     cpi->oxcf.speed = lc->speed;
   }
-  if (lc->loopfilter_ctrl >= 0 || lc->loopfilter_ctrl < 3)
-    cpi->loopfilter_ctrl = lc->loopfilter_ctrl;
+  cpi->loopfilter_ctrl = lc->loopfilter_ctrl;
   // Reset the frames_since_key and frames_to_key counters to their values
   // before the layer restore. Keep these defined for the stream (not layer).
   if (cpi->svc.number_temporal_layers > 1 ||