From b5d77a48d740e211a130c8e45d9353ef8c154a47 Mon Sep 17 00:00:00 2001 From: Jerome Jiang Date: Mon, 16 Nov 2020 14:12:50 -0800 Subject: [PATCH] Remove condition on copying svc loopfilter flag Change-Id: Ib37ef0aa3dc0ec73b25332be6d89969093bd7aeb --- vp9/encoder/vp9_svc_layercontext.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vp9/encoder/vp9_svc_layercontext.c b/vp9/encoder/vp9_svc_layercontext.c index 9c75d77..b6c7c74 100644 --- a/vp9/encoder/vp9_svc_layercontext.c +++ b/vp9/encoder/vp9_svc_layercontext.c @@ -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 || -- 2.7.4