]> granicus.if.org Git - libvpx/commitdiff
Remove condition on copying svc loopfilter flag
authorJerome Jiang <jianj@google.com>
Mon, 16 Nov 2020 22:12:50 +0000 (14:12 -0800)
committerJerome Jiang <jianj@google.com>
Mon, 16 Nov 2020 22:12:50 +0000 (14:12 -0800)
Change-Id: Ib37ef0aa3dc0ec73b25332be6d89969093bd7aeb

vp9/encoder/vp9_svc_layercontext.c

index 9c75d7726355c245e8e95ff5473e6b8d7a151144..b6c7c74e174a4b847a8398b887b57827cae50978 100644 (file)
@@ -357,8 +357,7 @@ void vp9_restore_layer_context(VP9_COMP *const cpi) {
   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 ||