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

Commit f054b672 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "codec2: fix to use color format for FetchGraphicBlock()." into tm-dev am: 93f0e84a

parents a3805aa8 93f0e84a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1435,7 +1435,7 @@ void CCodec::configure(const sp<AMessage> &msg) {
                int64_t blockUsage =
                    usage.value | C2MemoryUsage::CPU_READ | C2MemoryUsage::CPU_WRITE;
                std::shared_ptr<C2GraphicBlock> block = FetchGraphicBlock(
                        width, height, pixelFormat, blockUsage, {comp->getName()});
                        width, height, componentColorFormat, blockUsage, {comp->getName()});
                sp<GraphicBlockBuffer> buffer;
                if (block) {
                    buffer = GraphicBlockBuffer::Allocate(