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

Commit 23c526d5 authored by Wonsik Kim's avatar Wonsik Kim Committed by android-build-merger
Browse files

Merge "codec2: force array mode for graphic metadata buffers" into qt-dev am:...

Merge "codec2: force array mode for graphic metadata buffers" into qt-dev am: 5e39adb1 am: 846d3f54
am: 28ba4db5

Change-Id: I1cba94683fd1499fbea6539d380354e94e53ae3b
parents 1e7aa84c 28ba4db5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -896,6 +896,9 @@ status_t CCodecBufferChannel::start(
                input->buffers.reset(new DummyInputBuffers(mName));
            } else if (mMetaMode == MODE_ANW) {
                input->buffers.reset(new GraphicMetadataInputBuffers(mName));
                // This is to ensure buffers do not get released prematurely.
                // TODO: handle this without going into array mode
                forceArrayMode = true;
            } else {
                input->buffers.reset(new GraphicInputBuffers(numInputSlots, mName));
            }