diff options
author | Marco Paniconi <marpan@google.com> | 2021-02-03 22:09:24 -0800 |
---|---|---|
committer | Marco Paniconi <marpan@google.com> | 2021-02-03 22:12:25 -0800 |
commit | 0d8354669ac525a27c78bc8c761e98e0f8c3905c (patch) | |
tree | e4935d44cde2d5ba17fcb1592cfb8b12b0a40d49 /vp9/encoder/vp9_svc_layercontext.c | |
parent | 5a4cfa95630ee3ebb5d74cd6c21336492e8707a4 (diff) | |
download | libvpx-0d8354669ac525a27c78bc8c761e98e0f8c3905c.tar libvpx-0d8354669ac525a27c78bc8c761e98e0f8c3905c.tar.gz libvpx-0d8354669ac525a27c78bc8c761e98e0f8c3905c.tar.bz2 libvpx-0d8354669ac525a27c78bc8c761e98e0f8c3905c.zip |
svc: Fix an existing unittest for flexible mode
The flag update_pattern_ was being set to 0
(because it was set before reset) instead of 1.
And the example flexible mode pattern was not setting
non-reference frame on top temporal top spatial.
Change-Id: I8aee56ce13cc4e0d614126592f9d0f691fe527b0
Diffstat (limited to 'vp9/encoder/vp9_svc_layercontext.c')
-rw-r--r-- | vp9/encoder/vp9_svc_layercontext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_svc_layercontext.c b/vp9/encoder/vp9_svc_layercontext.c index b6c7c74e1..f9a0de62a 100644 --- a/vp9/encoder/vp9_svc_layercontext.c +++ b/vp9/encoder/vp9_svc_layercontext.c @@ -956,7 +956,7 @@ int vp9_one_pass_cbr_svc_start_layer(VP9_COMP *const cpi) { if (cpi->common.frame_type != KEY_FRAME && !cpi->ext_refresh_last_frame && !cpi->ext_refresh_golden_frame && !cpi->ext_refresh_alt_ref_frame) svc->non_reference_frame = 1; - // For non-flexible mode, where update_buffer_slot is used, need to check if + // For flexible mode, where update_buffer_slot is used, need to check if // all buffer slots are not refreshed. if (svc->temporal_layering_mode == VP9E_TEMPORAL_LAYERING_MODE_BYPASS) { if (svc->update_buffer_slot[svc->spatial_layer_id] != 0) |