QCamera2: Disable QCameraDisplay temporarily
Camera launch is failing due to QCameraDisplay crash. Disabling temporarily for AOSP upgrade to avoid the crash. This will be reverted once proper fix is found. Change-Id: I6ed87edcfbb07410899dcde13341b7ddd404960e
This commit is contained in:
parent
15d619dd29
commit
8c7b1d2502
2 changed files with 2 additions and 2 deletions
|
@ -759,7 +759,7 @@ private:
|
||||||
uint32_t mSurfaceStridePadding;
|
uint32_t mSurfaceStridePadding;
|
||||||
|
|
||||||
//QCamera Display Object
|
//QCamera Display Object
|
||||||
QCameraDisplay mCameraDisplay;
|
//QCameraDisplay mCameraDisplay;
|
||||||
|
|
||||||
bool m_bNeedRestart;
|
bool m_bNeedRestart;
|
||||||
Mutex mMapLock;
|
Mutex mMapLock;
|
||||||
|
|
|
@ -735,7 +735,7 @@ void QCamera2HardwareInterface::synchronous_stream_cb_routine(
|
||||||
|
|
||||||
frameTime = nsecs_t(frame->ts.tv_sec) * 1000000000LL + frame->ts.tv_nsec;
|
frameTime = nsecs_t(frame->ts.tv_sec) * 1000000000LL + frame->ts.tv_nsec;
|
||||||
// Calculate the future presentation time stamp for displaying frames at regular interval
|
// 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;
|
stream->mStreamTimestamp = frameTime;
|
||||||
memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info;
|
memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue