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

Commit 4ad80d89 authored by Wonsik Kim's avatar Wonsik Kim
Browse files

codec2 hidl plugin: fix FilterWrapperStub::createBlockPool

FilterWrapperStub::createBlockPool should call CreateCodec2BlockPool
instead of returning error.

Bug: 170199771
Test: atest CtsMediaTestCases -- --module-arg CtsMediaTestCases:size:small
Test: atest CtsMediaV2TestCases
Change-Id: Icc510e858c28a3ddf2a5adaced121e0944a15f01
parent 22541847
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -42,10 +42,10 @@ bool FilterWrapper::isFilteringEnabled(const std::shared_ptr<C2ComponentInterfac
}

c2_status_t FilterWrapper::createBlockPool(
        C2PlatformAllocatorStore::id_t,
        std::shared_ptr<const C2Component>,
        std::shared_ptr<C2BlockPool> *) {
    return C2_OMITTED;
        C2PlatformAllocatorStore::id_t allocatorId,
        std::shared_ptr<const C2Component> component,
        std::shared_ptr<C2BlockPool> *pool) {
    return CreateCodec2BlockPool(allocatorId, component, pool);
}

}  // namespace android