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

Commit 197f2256 authored by Pawin Vongmasa's avatar Pawin Vongmasa Committed by android-build-merger
Browse files

Merge "Ignore channel's onInputBufferDone while using input surface" into qt-dev

am: 62acb7fb

Change-Id: I806a55a4aeba70c4ae849acf84fc6cb4cb45d93f
parents 61f23a31 62acb7fb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1203,6 +1203,9 @@ void CCodecBufferChannel::onWorkDone(

void CCodecBufferChannel::onInputBufferDone(
        uint64_t frameIndex, size_t arrayIndex) {
    if (mInputSurface) {
        return;
    }
    std::shared_ptr<C2Buffer> buffer =
            mPipelineWatcher.lock()->onInputBufferReleased(frameIndex, arrayIndex);
    bool newInputSlotAvailable;