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

Commit 0fc4e47c authored by Lajos Molnar's avatar Lajos Molnar Committed by Android Git Automerger
Browse files

am d02ac2c7: stagefright: fix pushBlankBuffersToNW for non-meta decoders

* commit 'd02ac2c7':
  stagefright: fix pushBlankBuffersToNW for non-meta decoders
parents c28f8372 d02ac2c7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4156,6 +4156,9 @@ status_t ACodec::pushBlankBuffersToNativeWindow() {
        goto error;
    }

    static_cast<Surface*>(mNativeWindow.get())
            ->getIGraphicBufferProducer()->allowAllocation(true);

    err = mNativeWindow->query(mNativeWindow.get(),
            NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBufs);
    if (err != NO_ERROR) {