Merge "Camera: Heic: Wait for output TS before dequeuing output buffers"

gugelfrei
TreeHugger Robot 5 years ago committed by Android (Google) Code Review
commit dd44d37f52

@ -597,7 +597,8 @@ void HeicCompositeStream::compilePendingInputLocked() {
// to look up timestamp.
int64_t bufferTime = -1;
if (mCodecOutputBufferTimestamps.empty()) {
ALOGE("%s: Failed to find buffer timestamp for codec output buffer!", __FUNCTION__);
ALOGV("%s: Failed to find buffer timestamp for codec output buffer!", __FUNCTION__);
break;
} else {
// Direct mapping between camera timestamp (in ns) and codec timestamp (in us).
bufferTime = mCodecOutputBufferTimestamps.front();

Loading…
Cancel
Save