diff options
author | Dan Stoza <stoza@google.com> | 2014-03-12 15:07:30 -0700 |
---|---|---|
committer | Dan Stoza <stoza@google.com> | 2014-03-12 16:58:54 -0700 |
commit | 5205977929c8a63d3bba026c6bd7b4cc1e236627 (patch) | |
tree | 0a1801cffe10b082961f01c9844a325205d0cd04 /include | |
parent | fca092d953e04c7169242200f0ddb914a9f54ea4 (diff) | |
download | frameworks_av-5205977929c8a63d3bba026c6bd7b4cc1e236627.zip frameworks_av-5205977929c8a63d3bba026c6bd7b4cc1e236627.tar.gz frameworks_av-5205977929c8a63d3bba026c6bd7b4cc1e236627.tar.bz2 |
Remove deprecated BufferQueue constructor
Bug: 13415624
Change-Id: I1a824d09ce582ee54753683d30cdc23813c13b6b
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/SurfaceMediaSource.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/media/stagefright/SurfaceMediaSource.h b/include/media/stagefright/SurfaceMediaSource.h index 59e83c2..43b75fd 100644 --- a/include/media/stagefright/SurfaceMediaSource.h +++ b/include/media/stagefright/SurfaceMediaSource.h @@ -111,7 +111,7 @@ public: // pass metadata through the buffers. Currently, it is force set to true bool isMetaDataStoredInVideoBuffers() const; - sp<BufferQueue> getBufferQueue() const { return mBufferQueue; } + sp<IGraphicBufferProducer> getProducer() const { return mProducer; } // To be called before start() status_t setMaxAcquiredBufferCount(size_t count); @@ -146,9 +146,10 @@ protected: static bool isExternalFormat(uint32_t format); private: - // mBufferQueue is the exchange point between the producer and - // this consumer - sp<BufferQueue> mBufferQueue; + // A BufferQueue, represented by these interfaces, is the exchange point + // between the producer and this consumer + sp<IGraphicBufferProducer> mProducer; + sp<IGraphicBufferConsumer> mConsumer; struct SlotData { sp<GraphicBuffer> mGraphicBuffer; |