]> granicus.if.org Git - libvpx/commit
vp9-svc: Bugfix to dyanmic enabling/disabling of layers.
authorMarco Paniconi <marpan@google.com>
Thu, 15 Mar 2018 00:00:27 +0000 (17:00 -0700)
committerMarco Paniconi <marpan@google.com>
Thu, 15 Mar 2018 00:31:59 +0000 (17:31 -0700)
commit881c8ec816eb0790613dc674ee8f7a0e102e1835
tree709bf27a528260cbd20abe61f28336e3d175fc72
parent5c5dc733204d494a4b35d34fc0004dc3d958269e
vp9-svc: Bugfix to dyanmic enabling/disabling of layers.

Fix a bug when middle and top spatial layer are skip encoded
(disabled) and then re-enabled again, during the sequence.

Issue is that pending_frame_count in the packing may
be incremented on middle layer, even though that layer is skipped
(not encoded and hence zero size). Fix is to add size check.

Modified existing unitest to reproduce the issue.

Change-Id: I86d806a112d468e06b04fbf7c46ae07db9e0ad93
test/datarate_test.cc
vp9/vp9_cx_iface.c