commit | 0dff606f42292b8a31b9eee842877f9875279dab | [log] [tgz] |
---|---|---|
author | James Dong <jdong@google.com> | Wed Aug 01 19:32:46 2012 -0700 |
committer | James Dong <jdong@google.com> | Thu Aug 02 14:01:25 2012 -0700 |
tree | 84529f95eacfe525e3ecbc0d9a6f4b49fb0c737b | |
parent | c9729ca1cb1760da836e293e3ed7a82f769f3e07 [diff] |
Allocate buffers before calling start on its source in OMXCodec::start() for encoder case o This makes it possible to configure the source to use the same number of input buffers as requested by the video encoder, before the source starts. As a result, hardcoded number of video buffers for camera source, for instance, can be avoided. o related-to-bug: 6920805 Change-Id: I13d2c308dce34967768cd407f02988e92ef10a89