summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/omx/GraphicBufferSource.h
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2014-11-04 11:32:52 -0800
committerDan Stoza <stoza@google.com>2014-11-04 11:32:52 -0800
commit04f101c35eaa90b1f95939afac30674ec1611e6f (patch)
tree638649883fdc1e7329b9334b5a1a7461b7421942 /media/libstagefright/omx/GraphicBufferSource.h
parent151b3f41ffcdf187580542ba0c0d3b84df16beed (diff)
downloadframeworks_av-04f101c35eaa90b1f95939afac30674ec1611e6f.zip
frameworks_av-04f101c35eaa90b1f95939afac30674ec1611e6f.tar.gz
frameworks_av-04f101c35eaa90b1f95939afac30674ec1611e6f.tar.bz2
Add a BufferItem parameter to onFrameAvailable
Passes the BufferItem for the queued buffer to the onFrameAvailable callback so the consumer can track the BufferQueue's contents. Bug: 18111837 Change-Id: If9d07229c9b586c668e5f99074e9b63b0468feb0
Diffstat (limited to 'media/libstagefright/omx/GraphicBufferSource.h')
-rw-r--r--media/libstagefright/omx/GraphicBufferSource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/omx/GraphicBufferSource.h b/media/libstagefright/omx/GraphicBufferSource.h
index c0860ab..c8e3775 100644
--- a/media/libstagefright/omx/GraphicBufferSource.h
+++ b/media/libstagefright/omx/GraphicBufferSource.h
@@ -137,7 +137,7 @@ protected:
// into the codec buffer, and call Empty[This]Buffer. If we're not yet
// executing or there's no codec buffer available, we just increment
// mNumFramesAvailable and return.
- virtual void onFrameAvailable();
+ virtual void onFrameAvailable(const BufferItem& item);
// BufferQueue::ConsumerListener interface, called when the client has
// released one or more GraphicBuffers. We clear out the appropriate