Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71f90665 authored by Chong Zhang's avatar Chong Zhang
Browse files

Change skip frame to ALOGD

To help debug frame drops in antibanding case.

b/112893730

Change-Id: I7a69c89d1fcf442bbacf2e4b766109ae76b84999
parent 965737ed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -767,7 +767,7 @@ bool GraphicBufferSource::calculateCodecTimestamp_l(
            double nFrames = (timeUs - mPrevCaptureUs) * mCaptureFps / 1000000;
            if (nFrames < 0.5 - kTimestampFluctuation) {
                // skip this frame as it's too close to previous capture
                ALOGV("skipping frame, timeUs %lld", static_cast<long long>(timeUs));
                ALOGD("skipping frame, timeUs %lld", static_cast<long long>(timeUs));
                return false;
            }
            if (nFrames <= 1.0) {