summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2012-09-05 08:36:11 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-09-05 08:36:12 -0700
commit6c75ad21705cde0a11f78c755dc70bdec76890e6 (patch)
tree6fbee0fc78013f46a2cd6e0d3e0b02ff11f169a9 /include/media
parent0d268a3cae145afb2720c88ae38fb81550be5584 (diff)
parent66e72bc85fb762876baff60ef29de729da93cf26 (diff)
downloadframeworks_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.h3
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