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

Commit b0aff0c1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "ACodec: Reduce the TWOmxNode wrapper in GraphicBufferSource"

parents 60cb6ae9 d72eb3f3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -7078,10 +7078,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)",