diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2017-08-10 20:04:20 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2017-08-10 20:04:20 +0000 |
commit | 6e641a8caf812b5c9bd11dc978b8ebc078c93e62 (patch) | |
tree | 37502d015c3dd47e56ea94129a7cffbc714d5de4 | |
parent | 2e6a570bad5ba03a9a7581ac4d416b3505552366 (diff) | |
parent | e955646e0c44cd3d0ae26143ab3c44a53d6cc5fb (diff) | |
download | bullhead-oreo-dr1-release.tar.gz |
release-request-c35220cc-82d2-47bc-937a-b94445d112d0-for-git_oc-dr1-release-4263718 snap-temp-L41200000091651488android-8.0.0_r34android-8.0.0_r33android-8.0.0_r27android-8.0.0_r26android-8.0.0_r25android-8.0.0_r24android-8.0.0_r23android-8.0.0_r22android-8.0.0_r21oreo-dr3-releaseoreo-dr2-releaseoreo-dr1-release
Change-Id: I64394d43776af52a81b3058e41be27da8192dabe
-rw-r--r-- | camera/QCamera2/HAL3/QCamera3HWI.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camera/QCamera2/HAL3/QCamera3HWI.cpp b/camera/QCamera2/HAL3/QCamera3HWI.cpp index 18a11ed..05c0c41 100644 --- a/camera/QCamera2/HAL3/QCamera3HWI.cpp +++ b/camera/QCamera2/HAL3/QCamera3HWI.cpp @@ -1892,6 +1892,7 @@ int QCamera3HardwareInterface::configureStreamsPerfLocked( newStream->max_buffers = MAX_INFLIGHT_REPROCESS_REQUESTS; } else { ALOGE("%s: Error, Unknown stream type", __func__); + pthread_mutex_unlock(&mMutex); return -EINVAL; } @@ -3701,6 +3702,7 @@ no_error: if(ADD_SET_PARAM_ENTRY_TO_BATCH(mParameters, CAM_INTF_META_FRAME_NUMBER, request->frame_number)) { ALOGE("%s: Failed to set the frame number in the parameters", __func__); + pthread_mutex_unlock(&mMutex); return BAD_VALUE; } } |