Loading services/camera/libcameraservice/device3/Camera3Stream.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -487,9 +487,12 @@ status_t Camera3Stream::returnBuffer(const camera3_stream_buffer &buffer, status_t res = returnBufferLocked(buffer, timestamp); if (res == OK) { fireBufferListenersLocked(buffer, /*acquired*/false, /*output*/true); mOutputBufferReturnedSignal.signal(); } // Even if returning the buffer failed, we still want to signal whoever is waiting for the // buffer to be returned. mOutputBufferReturnedSignal.signal(); return res; } Loading Loading
services/camera/libcameraservice/device3/Camera3Stream.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -487,9 +487,12 @@ status_t Camera3Stream::returnBuffer(const camera3_stream_buffer &buffer, status_t res = returnBufferLocked(buffer, timestamp); if (res == OK) { fireBufferListenersLocked(buffer, /*acquired*/false, /*output*/true); mOutputBufferReturnedSignal.signal(); } // Even if returning the buffer failed, we still want to signal whoever is waiting for the // buffer to be returned. mOutputBufferReturnedSignal.signal(); return res; } Loading