vp9_cx_iface: set default cpu_used=5 w/CONFIG_REALTIME_ONLY
authorJames Zern <jzern@google.com>
Fri, 17 Jun 2022 01:22:52 +0000 (18:22 -0700)
committerJerome Jiang <jianj@google.com>
Tue, 21 Jun 2022 20:02:50 +0000 (16:02 -0400)
commit158468202510a5d70ec1f0e9f4231c9ccacda8cd
tree3267ec6cd0345fb1d714aaeb9a61e9b345f4288a
parent5df4da402675f2d829acfb006d7cd27dd387d776
vp9_cx_iface: set default cpu_used=5 w/CONFIG_REALTIME_ONLY

this avoids a crash if cpu-used is not explicitly set as there are some
(unnecessary) checks against use_nonrd_pick_mode which would cause
encoding to be skipped if the old default of 0 were used

Bug: webm:1773
Change-Id: I62fba5fb51d8afa422689b7de3f03e8f7570e50b
Fixed: webm:1773
(cherry picked from commit 95d196fdf45edf57015cc18635c52b30a93522fd)
test/realtime_test.cc
vp9/vp9_cx_iface.c