am 346ac60d: Add timestamps to video frames to improve A/V sync. Bug 1927069.
Merge commit '346ac60d65b406ef102c9f471f87a90b056a1efc' * commit '346ac60d65b406ef102c9f471f87a90b056a1efc': Add timestamps to video frames to improve A/V sync.
This commit is contained in:
commit
128a305307
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user