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

Commit 20262d2d authored by Wonsik Kim's avatar Wonsik Kim
Browse files

codec2 hidl plugin: back-propagate params only from enabled filters

Bug: 190422448
Test: presubmit
Change-Id: I91a264f9cf1d1fc7f6deaa2cad60844c614df240
parent 16f2a93c
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -430,6 +430,10 @@ private:
            LOG(DEBUG) << "WrappedDecoderInterface: FilterWrapper not found";
            LOG(DEBUG) << "WrappedDecoderInterface: FilterWrapper not found";
            return C2_OK;
            return C2_OK;
        }
        }
        if (!filterWrapper->isFilteringEnabled(next)) {
            LOG(VERBOSE) << "WrappedDecoderInterface: filtering not enabled";
            return C2_OK;
        }
        std::vector<std::unique_ptr<C2Param>> params;
        std::vector<std::unique_ptr<C2Param>> params;
        c2_status_t err = filterWrapper->queryParamsForPreviousComponent(next, &params);
        c2_status_t err = filterWrapper->queryParamsForPreviousComponent(next, &params);
        if (err != C2_OK) {
        if (err != C2_OK) {