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

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

Merge "ACodec: Reduce the TWOmxNode wrapper in GraphicBufferSource"

parents 42969d3c c7af1da3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -7035,10 +7035,9 @@ status_t ACodec::LoadedState::setupInputSurface() {
        return err;
    }

    using hardware::media::omx::V1_0::utils::TWOmxNode;
    err = statusFromBinderStatus(
            mCodec->mGraphicBufferSource->configure(
                    new TWOmxNode(mCodec->mOMXNode),
                    mCodec->mOMXNode->getHalInterface<IOmxNode>(),
                    static_cast<hardware::graphics::common::V1_0::Dataspace>(dataSpace)));
    if (err != OK) {
        ALOGE("[%s] Unable to configure for node (err %d)",