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

Commit a63b4da5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "fix output nFilledLen when prepareForAdaptivePlayback is true" into oc-mr1-dev

parents 58091c2e ed31e32a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -789,7 +789,7 @@ void SoftMPEG2::onQueueFilled(OMX_U32 portIndex) {

            if (s_dec_op.u4_output_present) {
                ssize_t timeStampIdx;
                outHeader->nFilledLen = (mWidth * mHeight * 3) / 2;
                outHeader->nFilledLen = (outputBufferWidth() * outputBufferHeight() * 3) / 2;

                timeStampIdx = getMinTimestampIdx(mTimeStamps, mTimeStampsValid);
                if (timeStampIdx < 0) {