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

Commit 973a48d1 authored by Ram Mohan's avatar Ram Mohan Committed by android-build-merger
Browse files

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

am: a63b4da5

Change-Id: I2a711561f5d3b3504a84edb455f61c3ec28a64f7
parents 8d9d5327 a63b4da5
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) {