Add timestamps to video frames to improve A/V sync.

Bug 1927069.
This commit is contained in:
Dave Sparks 2009-07-08 15:58:41 -07:00
parent 04b2c40f3c
commit 12b41c417f

View File

@ -1505,7 +1505,7 @@ void QualcommCameraHardware::receivePreviewFrame(struct msm_frame *frame)
if(rcb != NULL) {
Mutex::Autolock rLock(&mRecordFrameLock);
rcb(mPreviewHeap->mBuffers[offset], rdata);
rcb(systemTime(), mPreviewHeap->mBuffers[offset], rdata);
if (mReleasedRecordingFrame != true) {
LOGV("block for release frame request/command");
mRecordWait.wait(mRecordFrameLock);