diff options
author | Andreas Huber <andih@google.com> | 2012-09-05 08:36:11 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-09-05 08:36:12 -0700 |
commit | 6c75ad21705cde0a11f78c755dc70bdec76890e6 (patch) | |
tree | 6fbee0fc78013f46a2cd6e0d3e0b02ff11f169a9 /include/media | |
parent | 0d268a3cae145afb2720c88ae38fb81550be5584 (diff) | |
parent | 66e72bc85fb762876baff60ef29de729da93cf26 (diff) | |
download | frameworks_av-6c75ad21705cde0a11f78c755dc70bdec76890e6.zip frameworks_av-6c75ad21705cde0a11f78c755dc70bdec76890e6.tar.gz frameworks_av-6c75ad21705cde0a11f78c755dc70bdec76890e6.tar.bz2 |
Merge "Configure the SurfaceMediaSource to emit the same number of buffers" into jb-mr1-dev
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/stagefright/SurfaceMediaSource.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/stagefright/SurfaceMediaSource.h b/include/media/stagefright/SurfaceMediaSource.h index 724c68d..840b4aa 100644 --- a/include/media/stagefright/SurfaceMediaSource.h +++ b/include/media/stagefright/SurfaceMediaSource.h @@ -111,6 +111,9 @@ public: sp<BufferQueue> getBufferQueue() const { return mBufferQueue; } + // To be called before start() + status_t setMaxAcquiredBufferCount(size_t count); + protected: // Implementation of the BufferQueue::ConsumerListener interface. These |