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

Commit 682d8fe2 authored by Wonsik Kim's avatar Wonsik Kim Committed by android-build-merger
Browse files

Merge "Codec2Buffer: add size info to client-based output byte buffer" into qt-dev

am: 9eef0acf

Change-Id: Ica73a2fa5d3d11ac72ea627eb8c9e5fe7463b685
parents 787f9170 9eef0acf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -739,6 +739,7 @@ bool ConstGraphicBlockBuffer::copy(const std::shared_ptr<C2Buffer> &buffer) {
        ALOGD("ConstGraphicBlockBuffer::copy: set back buffer failed");
        return false;
    }
    setRange(0, aBuffer->size());  // align size info
    converter.copyToMediaImage();
    setImageData(converter.imageData());
    mBufferRef = buffer;