ref: bffa4a68b010889c01338304e883b6e7156bf5c8
parent: 583ea4d07bef4859fa147b56ae9519b7e4b9d2a4
author: Jingning Han <jingning@google.com>
date: Thu Aug 23 12:51:26 EDT 2018
Set minimum frame size to be 1 byte The show_existing_frame mode still needs to be sent to the decoder. Account for this as 1 byte. This would make the encoder properly update its state. Change-Id: I32a59ccb5d0e02cc6367c1a264b2de72dc1432a7
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -4950,6 +4950,8 @@
vp9_rc_postencode_update(cpi, *size);
+ *size = VPXMAX(1, *size);
+
#if 0
output_frame_level_debug_stats(cpi);
#endif