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

Commit 411c94ab authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "media: initialize dequeue counter in buffer info"

parents a2be3bea e851b9bd
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