diff --git a/camera/QCamera2/HAL/QCamera2HWI.h b/camera/QCamera2/HAL/QCamera2HWI.h index c1b7d2d..739cba1 100644 --- a/camera/QCamera2/HAL/QCamera2HWI.h +++ b/camera/QCamera2/HAL/QCamera2HWI.h @@ -759,7 +759,7 @@ private: uint32_t mSurfaceStridePadding; //QCamera Display Object - QCameraDisplay mCameraDisplay; + //QCameraDisplay mCameraDisplay; bool m_bNeedRestart; Mutex mMapLock; diff --git a/camera/QCamera2/HAL/QCamera2HWICallbacks.cpp b/camera/QCamera2/HAL/QCamera2HWICallbacks.cpp index 13e6944..5308df5 100644 --- a/camera/QCamera2/HAL/QCamera2HWICallbacks.cpp +++ b/camera/QCamera2/HAL/QCamera2HWICallbacks.cpp @@ -735,7 +735,7 @@ void QCamera2HardwareInterface::synchronous_stream_cb_routine( frameTime = nsecs_t(frame->ts.tv_sec) * 1000000000LL + frame->ts.tv_nsec; // Calculate the future presentation time stamp for displaying frames at regular interval - mPreviewTimestamp = pme->mCameraDisplay.computePresentationTimeStamp(frameTime); + //mPreviewTimestamp = pme->mCameraDisplay.computePresentationTimeStamp(frameTime); stream->mStreamTimestamp = frameTime; memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info;