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

Commit 90c13901 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: I9bfa21ac01a920c3f7b310f3407e90ec62ee222a
parents a0cc745b 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.