commit | 6b2c8bee85dab04b4958774a2bf70b2e64412203 | [log] [tgz] |
---|---|---|
author | Wonsik Kim <wonsik@google.com> | Tue Sep 28 05:11:04 2021 -0700 |
committer | Wonsik Kim <wonsik@google.com> | Mon Nov 01 18:02:03 2021 -0700 |
tree | 9b80e643090eb2247d535dd7e3483168b0170030 | |
parent | 16f2a93c37f2c58ba6e2acb9ca19049ff292e69f [diff] [blame] |
CCodec: ignore input buffer done callbacks before flush These callbacks will clear buffer references that stashed codec config is holding onto. Bug: 196014695 Bug: 199818561 Test: cts/media/device-small Change-Id: I9c04aaff26ad5e4f8b66e341e2098e863c1ce314
diff --git a/media/codec2/sfplugin/CCodecBufferChannel.h b/media/codec2/sfplugin/CCodecBufferChannel.h index d2862bd..26eef30 100644 --- a/media/codec2/sfplugin/CCodecBufferChannel.h +++ b/media/codec2/sfplugin/CCodecBufferChannel.h
@@ -273,6 +273,7 @@ size_t numExtraSlots; uint32_t inputDelay; uint32_t pipelineDelay; + c2_cntr64_t lastFlushIndex; FrameReassembler frameReassembler; };