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

Commit 5ef583ef authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "CCodec: Report error when display surface is obsolete" am: 573bbb35...

Merge "CCodec: Report error when display surface is obsolete" am: 573bbb35 am: 46b0b7aa am: 1c94f8ec am: 2c389279

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1491617

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