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)
committerJames Zern <jzern@google.com>
Fri, 17 Jun 2022 17:07:08 +0000 (10:07 -0700)
commit95d196fdf45edf57015cc18635c52b30a93522fd
tree4be73bb08674953263b30a74e01ae5b9a2d12aaf
parent638e0b7bba3660b19a8f715d8bade0a9a5340eaa
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
test/realtime_test.cc
vp9/vp9_cx_iface.c