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

Commit 86f3ee84 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

Change-Id: I9ff7d86f905d62a5ff0bffdf978269a55d145caf
parents 0465325b 411c94ab
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