Setting completeFrame to true for all created encoded images.

Review URL: http://webrtc-codereview.appspot.com/276008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@948 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
kjellander@webrtc.org 2011-11-15 13:45:25 +00:00
parent cde1e7f42a
commit 85596d5bf4

View File

@ -258,6 +258,7 @@ VP8Encoder::InitEncode(const VideoCodec* inst,
}
_encodedImage._size = (3 * inst->width * inst->height) >> 1;
_encodedImage._buffer = new WebRtc_UWord8[_encodedImage._size];
_encodedImage._completeFrame = true;
vpx_img_alloc(_raw, IMG_FMT_I420, inst->width, inst->height, 1);
// populate encoder configuration with default values