Camera: Dont process dataCalllback if recording is stopped
Issue: Here stopRecording is not finished as the previous recording frame process has not completed. dataCallbackTimeStamp() in CameraSource.cpp has stuck in the thread itself waiting for a lock. In between, reset() function in CameraSource.cpp has called and acquired lock. Reset() function calls stopRecording. So the dataCallbackTimeStamp() is continuously waiting. Unless dataCallbackTimeStamp returns, processRecordFrame in HAL will not finish. CRs-Fixed: 518351 Change-Id: I19bbdb4b50b0113a419c9229f0e26c56e8ce91e8
Loading
Please register or sign in to comment