Index: source/libvpx/vp9/encoder/vp9_ratectrl.c |
diff --git a/source/libvpx/vp9/encoder/vp9_ratectrl.c b/source/libvpx/vp9/encoder/vp9_ratectrl.c |
index fdc55f78b79b538a6945f3477ef71400b5f30ddc..f57c525f0ae732f3f2e50d44786fcc59dfd222af 100644 |
--- a/source/libvpx/vp9/encoder/vp9_ratectrl.c |
+++ b/source/libvpx/vp9/encoder/vp9_ratectrl.c |
@@ -15,6 +15,7 @@ |
#include <stdlib.h> |
#include <string.h> |
+#include "vpx_dsp/vpx_dsp_common.h" |
#include "vpx_mem/vpx_mem.h" |
#include "vpx_ports/mem.h" |
#include "vpx_ports/system_state.h" |
@@ -1849,7 +1850,7 @@ int vp9_resize_one_pass_cbr(VP9_COMP *cpi) { |
resize_now = 1; |
cpi->resize_state = 1; |
} else if (cpi->resize_state == 1 && |
- avg_qp < 40 * cpi->rc.worst_quality / 100) { |
+ avg_qp < 50 * cpi->rc.worst_quality / 100) { |
resize_now = -1; |
cpi->resize_state = 0; |
} |