From 7edd1a6ceab61f9fa5ba5585698e4dcd7d41d59b Mon Sep 17 00:00:00 2001 From: Marco Paniconi Date: Wed, 31 Jan 2018 16:49:16 +0000 Subject: Revert "vp9 svc: fix to make top layer frame non-ref" This reverts commit 254e2f5501d000ca66bc65c5f44bb6a882d4167c. Reason for revert: Original change's description: > vp9 svc: fix to make top layer frame non-ref > > Add mismatch check to the datarate test of changing svc pattern on the > fly. > > Change-Id: I6a878736de44e6a40c077ed6430aabd7fadabdd9 TBR=marpan@google.com,builds@webmproject.org,jianj@google.com Change-Id: Ibcb600438098f8dc380fe7e1de90cb81fc367468 No-Presubmit: true No-Tree-Checks: true No-Try: true --- vp9/encoder/vp9_svc_layercontext.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'vp9') diff --git a/vp9/encoder/vp9_svc_layercontext.c b/vp9/encoder/vp9_svc_layercontext.c index 54789ee70..35d5ec3e0 100644 --- a/vp9/encoder/vp9_svc_layercontext.c +++ b/vp9/encoder/vp9_svc_layercontext.c @@ -549,8 +549,6 @@ static void set_flags_and_fb_idx_for_temporal_mode2(VP9_COMP *const cpi) { if (!spatial_id) { cpi->ref_frame_flags = VP9_LAST_FLAG; } else { - if (spatial_id == cpi->svc.number_spatial_layers - 1) - cpi->ext_refresh_alt_ref_frame = 0; cpi->ref_frame_flags = VP9_LAST_FLAG | VP9_GOLD_FLAG; } } -- cgit v1.2.3