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

Commit 573bbb35 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "CCodec: Report error when display surface is obsolete"

parents fc013844 47c018a4
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -816,6 +816,9 @@ status_t CCodecBufferChannel::renderOutputBuffer(
    status_t result = mComponent->queueToOutputSurface(block, qbi, &qbo);
    status_t result = mComponent->queueToOutputSurface(block, qbi, &qbo);
    if (result != OK) {
    if (result != OK) {
        ALOGI("[%s] queueBuffer failed: %d", mName, result);
        ALOGI("[%s] queueBuffer failed: %d", mName, result);
        if (result == NO_INIT) {
            mCCodecCallback->onError(UNKNOWN_ERROR, ACTION_CODE_FATAL);
        }
        return result;
        return result;
    }
    }
    ALOGV("[%s] queue buffer successful", mName);
    ALOGV("[%s] queue buffer successful", mName);