| commit | 4abfb3ba062fdb402e6b04c26a79ecd8f0e8ac25 | [log] [tgz] |
|---|---|---|
| author | Zhijun He <zhijunhe@google.com> | Sat Jun 25 00:41:07 2016 +0000 |
| committer | android-build-merger <android-build-merger@google.com> | Sat Jun 25 00:41:07 2016 +0000 |
| tree | 67d67e49d27b3283b952c8c85633e80164c63029 | |
| parent | ead8201f18ced9e5c1e89243426206fe331d91bc [diff] | |
| parent | 7b171a9e7be64e9881ed03baad1422d75ca768a4 [diff] |
Camera3: log a warning when frame drop occurs am: 7b171a9e7b Change-Id: I96c84451ce70eff2d2aeeea03e9a3ede6b90d178
diff --git a/services/camera/libcameraservice/device3/Camera3OutputStream.cpp b/services/camera/libcameraservice/device3/Camera3OutputStream.cpp index bc8f631..3aff684 100644 --- a/services/camera/libcameraservice/device3/Camera3OutputStream.cpp +++ b/services/camera/libcameraservice/device3/Camera3OutputStream.cpp
@@ -271,6 +271,7 @@ */ if (buffer.status == CAMERA3_BUFFER_STATUS_ERROR) { // Cancel buffer + ALOGW("A frame is dropped for stream %d", mId); res = currentConsumer->cancelBuffer(currentConsumer.get(), container_of(buffer.buffer, ANativeWindowBuffer, handle), anwReleaseFence);