diff options
author | Dan Stoza <stoza@google.com> | 2014-11-07 19:44:29 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-11-07 19:44:30 +0000 |
commit | 1609e451cf6101efe6aeaaa2da61db2cb095c9e8 (patch) | |
tree | f09b7bb9b88d37985ca41e255f4efc8ffa769905 /include | |
parent | c339a921642c38621f57e95b4ec41cfaa99c7a63 (diff) | |
parent | 04f101c35eaa90b1f95939afac30674ec1611e6f (diff) | |
download | frameworks_av-1609e451cf6101efe6aeaaa2da61db2cb095c9e8.zip frameworks_av-1609e451cf6101efe6aeaaa2da61db2cb095c9e8.tar.gz frameworks_av-1609e451cf6101efe6aeaaa2da61db2cb095c9e8.tar.bz2 |
Merge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-dev
Diffstat (limited to 'include')
-rw-r--r-- | include/camera/ProCamera.h | 2 | ||||
-rw-r--r-- | include/media/stagefright/SurfaceMediaSource.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/camera/ProCamera.h b/include/camera/ProCamera.h index 83a3028..e9b687a 100644 --- a/include/camera/ProCamera.h +++ b/include/camera/ProCamera.h @@ -265,7 +265,7 @@ private: } protected: - virtual void onFrameAvailable() { + virtual void onFrameAvailable(const BufferItem& /* item */) { sp<ProCamera> c = mCamera.promote(); if (c.get() != NULL) { c->onFrameAvailable(mStreamId); diff --git a/include/media/stagefright/SurfaceMediaSource.h b/include/media/stagefright/SurfaceMediaSource.h index 43b75fd..d15a226 100644 --- a/include/media/stagefright/SurfaceMediaSource.h +++ b/include/media/stagefright/SurfaceMediaSource.h @@ -124,7 +124,7 @@ protected: // Implementation of the BufferQueue::ConsumerListener interface. These // calls are used to notify the Surface of asynchronous events in the // BufferQueue. - virtual void onFrameAvailable(); + virtual void onFrameAvailable(const BufferItem& item); // Used as a hook to BufferQueue::disconnect() // This is called by the client side when it is done |