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

Commit 46ad25e3 authored by Dichen Zhang's avatar Dichen Zhang Committed by android-build-merger
Browse files

Merge "media: initialize dequeue counter in buffer info" am: 411c94ab

am: 86f3ee84

Change-Id: I6cab0d1f33fdcacfd29420f17a46763fd178a6d9
parents 1962212f 86f3ee84
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1247,6 +1247,7 @@ status_t ACodec::allocateOutputBuffersFromNativeWindow() {
        info.mRenderInfo = NULL;
        info.mGraphicBuffer = graphicBuffer;
        info.mNewGraphicBuffer = false;
        info.mDequeuedAt = mDequeueCounter;

        // TODO: We shouln't need to create MediaCodecBuffer. In metadata mode
        //       OMX doesn't use the shared memory buffer, but some code still