vp9-rtc: Fix to resetting drop_spatial_layer
authorMarco Paniconi <marpan@google.com>
Thu, 18 Jun 2020 18:24:28 +0000 (11:24 -0700)
committerJerome Jiang <jianj@google.com>
Thu, 30 Jul 2020 17:45:53 +0000 (10:45 -0700)
commitf0ccdb19f44e2549415fc24b7cc39fa882f5b565
treec6fcfe279078e525a630a025a77f0a358923bee4
parent17b2ce11aca791e3fcdb85cc391d5aa9196ef633
vp9-rtc: Fix to resetting drop_spatial_layer

The reset happens on the base spatial layer, before
encoding. But it should be reset on the
first_spatial_layer_to_encode, which may not be 0.

Change-Id: I38ef686b4459ca7433062adbfe32ef2134e1ad60
(cherry picked from commit 769129fb29fc66720be2b01276a472c334757d2d)
vp9/encoder/vp9_svc_layercontext.c