summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2010-05-27 10:04:36 -0700
committerYaowu Xu <yaowu@google.com>2010-05-27 19:44:15 -0700
commit8caa5c2d30601130dbbbd3f1a0b1dbcc79fc4343 (patch)
tree6d2fa1c9662bd882185f312d815fbd67ba7afd40
parent670af3aa595245b2cb7bbf911a49bfc4af2aa6ac (diff)
downloadlibvpx-8caa5c2d30601130dbbbd3f1a0b1dbcc79fc4343.tar
libvpx-8caa5c2d30601130dbbbd3f1a0b1dbcc79fc4343.tar.gz
libvpx-8caa5c2d30601130dbbbd3f1a0b1dbcc79fc4343.tar.bz2
libvpx-8caa5c2d30601130dbbbd3f1a0b1dbcc79fc4343.zip
Increase the size of output packet list
This is to accommodate output packets for both compressed data and psnr stats. For each frame, there are at least one packet for compressed data and one for psnr stats. For a max lag of 25, 64 is large enough to cover all lagged frames at the end of encoding. Change-Id: If20787fbc86f96e1aa16a3ccf2adc93e6c1e3d5f
-rw-r--r--vp8/vp8_cx_iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/vp8_cx_iface.c b/vp8/vp8_cx_iface.c
index 5883abdfd..16ad678b6 100644
--- a/vp8/vp8_cx_iface.c
+++ b/vp8/vp8_cx_iface.c
@@ -81,7 +81,7 @@ struct vpx_codec_alg_priv
vpx_image_t preview_img;
unsigned int next_frame_flag;
vp8_postproc_cfg_t preview_ppcfg;
- vpx_codec_pkt_list_decl(26) pkt_list; // changed to accomendate the maximum number of lagged frames allowed
+ vpx_codec_pkt_list_decl(64) pkt_list; // changed to accomendate the maximum number of lagged frames allowed
int deprecated_mode;
unsigned int fixed_kf_cntr;
};