From 6913062faabb1eb84e20de1e8e8e42a4932fde70 Mon Sep 17 00:00:00 2001 From: Jamie Gennis Date: Fri, 28 Jan 2011 12:03:52 -0800 Subject: Quiet the SurfaceFlingerClient dequeueBuffer error. This is a temporary WAR for the case where dequeueBuffer is called when all the buffers owned by a SurfaceTexture are not available - either they're the current texture buffer or the next one. Currently, an error is returned in that case, and this change just prevents that error from being logged. In the future this will be fixed to not return an error in that case. Bug: 3356050 Change-Id: Ic6cc304881a63ce134cfd0bcb4265e3e3fa94b6a --- libs/gui/SurfaceTextureClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/gui/SurfaceTextureClient.cpp') diff --git a/libs/gui/SurfaceTextureClient.cpp b/libs/gui/SurfaceTextureClient.cpp index 0ed8be528b13..c0e4e0f56334 100644 --- a/libs/gui/SurfaceTextureClient.cpp +++ b/libs/gui/SurfaceTextureClient.cpp @@ -88,7 +88,7 @@ int SurfaceTextureClient::dequeueBuffer(android_native_buffer_t** buffer) { int buf = -1; status_t err = mSurfaceTexture->dequeueBuffer(&buf); if (err < 0) { - LOGE("dequeueBuffer: ISurfaceTexture::dequeueBuffer failed: %d", err); + LOGV("dequeueBuffer: ISurfaceTexture::dequeueBuffer failed: %d", err); return err; } sp& gbuf(mSlots[buf]); -- cgit v1.2.3-59-g8ed1b