From a98529a722cbaa5aee6309a7b9baeabd956a2bd0 Mon Sep 17 00:00:00 2001 From: wangqin1 Date: Tue, 2 Jan 2024 09:54:54 +0800 Subject: [PATCH] Update mfx_vpp_hw.cpp bug --- _studio/mfx_lib/vpp/src/mfx_vpp_hw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_studio/mfx_lib/vpp/src/mfx_vpp_hw.cpp b/_studio/mfx_lib/vpp/src/mfx_vpp_hw.cpp index fde31237b0..8cd81ea93a 100755 --- a/_studio/mfx_lib/vpp/src/mfx_vpp_hw.cpp +++ b/_studio/mfx_lib/vpp/src/mfx_vpp_hw.cpp @@ -6003,7 +6003,7 @@ mfxStatus ConfigureExecuteParams( if (!executeParams.dstRects.empty()) { - if (executeParams.dstRects.size() < StreamCount) + if (executeParams.dstRects.capacity() < StreamCount) return MFX_ERR_INCOMPATIBLE_VIDEO_PARAM; }