commit | 39d10c19162e9f026a2a5f415264c8cdf1d1da1b | [log] [tgz] |
---|---|---|
author | Wonsik Kim <wonsik@google.com> | Sun Feb 07 21:56:34 2021 -0800 |
committer | Wonsik Kim <wonsik@google.com> | Fri Feb 12 12:31:35 2021 -0800 |
tree | 4a3a4d1f772818b955d5ae55c12ce430727a559e | |
parent | 7e7b547d07934755c61820d0d011c016ab8f5c8a [diff] |
C2InterfaceHelper: fix split parameter handling Bug: 160259947 Test: manual Change-Id: I4cb9044db9174268b32b02bd5a74c82afe505953
diff --git a/media/codec2/vndk/util/C2InterfaceHelper.cpp b/media/codec2/vndk/util/C2InterfaceHelper.cpp index 9eb52d2..19d2295 100644 --- a/media/codec2/vndk/util/C2InterfaceHelper.cpp +++ b/media/codec2/vndk/util/C2InterfaceHelper.cpp
@@ -645,6 +645,7 @@ lateReadParams.emplace_back(p); std::unique_ptr<C2Param> request(C2Param::CopyAsRequest(*p)); p = request.get(); + paramIx = p->index(); paramRequests.emplace_back(std::move(request)); } }