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

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

Merge "ACodec: Reduce the TWOmxNode wrapper in GraphicBufferSource" into rvc-qpr-dev

parents 1a44b343 a78c06da
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -6975,10 +6975,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)",