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

Commit df61e6e5 authored by Sungtak Lee's avatar Sungtak Lee Committed by android-build-merger
Browse files

Merge "Set dequeue timeout of surface on ACodec configuration" into qt-dev

am: d5fc8b37

Change-Id: I4bc808d24d80ebf8989271e6dc79d3532ff145ce
parents d8526775 d5fc8b37
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1138,6 +1138,8 @@ status_t ACodec::configureOutputBuffersFromNativeWindow(
        return err;
    }

    static_cast<Surface *>(mNativeWindow.get())->setDequeueTimeout(-1);

    // Exits here for tunneled video playback codecs -- i.e. skips native window
    // buffer allocation step as this is managed by the tunneled OMX omponent
    // itself and explicitly sets def.nBufferCountActual to 0.