From 8ed8ceda7cfe29e8417142ef460cd70060204459 Mon Sep 17 00:00:00 2001 From: Dan Stoza Date: Thu, 12 Mar 2015 15:19:45 -0700 Subject: libstagefright: Stop using IGBC::BufferItem Switches all uses of IGraphicBufferConsumer::BufferItem (and BufferQueue::BufferItem) to the BufferItem in libgui. Depends on frameworks/native I699ed0a6837076867ca756b28d1ffb2238f7a0d9. This is a member of I187b3a7d05196b6289596afac8fb9a9d4aebff76, but since it was split out from the camera change in frameworks/av, they have to have different change IDs. Change-Id: I0ddd38df37500cfd6b21d1e768ed14e39c5cd9fc --- media/libstagefright/SurfaceMediaSource.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'media/libstagefright/SurfaceMediaSource.cpp') diff --git a/media/libstagefright/SurfaceMediaSource.cpp b/media/libstagefright/SurfaceMediaSource.cpp index 530383b..e8abf48 100644 --- a/media/libstagefright/SurfaceMediaSource.cpp +++ b/media/libstagefright/SurfaceMediaSource.cpp @@ -26,6 +26,7 @@ #include #include +#include #include #include #include @@ -290,7 +291,7 @@ status_t SurfaceMediaSource::read( // TODO: mCurrentSlot can be made a bufferstate since there // can be more than one "current" slots. - BufferQueue::BufferItem item; + BufferItem item; // If the recording has started and the queue is empty, then just // wait here till the frames come in from the client side while (mStarted) { -- cgit v1.1