diff options
author | James Dong <jdong@google.com> | 2012-08-01 19:32:46 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2012-08-02 14:01:25 -0700 |
commit | 0dff606f42292b8a31b9eee842877f9875279dab (patch) | |
tree | 84529f95eacfe525e3ecbc0d9a6f4b49fb0c737b /include/media/stagefright/MetaData.h | |
parent | c9729ca1cb1760da836e293e3ed7a82f769f3e07 (diff) | |
download | frameworks_av-0dff606f42292b8a31b9eee842877f9875279dab.zip frameworks_av-0dff606f42292b8a31b9eee842877f9875279dab.tar.gz frameworks_av-0dff606f42292b8a31b9eee842877f9875279dab.tar.bz2 |
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
Diffstat (limited to 'include/media/stagefright/MetaData.h')
-rw-r--r-- | include/media/stagefright/MetaData.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/stagefright/MetaData.h b/include/media/stagefright/MetaData.h index 3c25a14..e91904c 100644 --- a/include/media/stagefright/MetaData.h +++ b/include/media/stagefright/MetaData.h @@ -111,6 +111,7 @@ enum { kKeyTrackTimeStatus = 'tktm', // int64_t kKeyNotRealTime = 'ntrt', // bool (int32_t) + kKeyNumBuffers = 'nbbf', // int32_t // Ogg files can be tagged to be automatically looping... kKeyAutoLoop = 'autL', // bool (int32_t) |