From ce0185662558a94466246a22ae36f941fed2b84d Mon Sep 17 00:00:00 2001 From: "Zhu, Steve R" Date: Fri, 16 Aug 2024 21:32:21 +0000 Subject: [PATCH] [Decode] Frame Info Shift setting for AVC This patch adds support to set shift flag in frame info on AVC. --- _studio/shared/umc/codec/h264_dec/src/umc_h264_mfx_supplier.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/_studio/shared/umc/codec/h264_dec/src/umc_h264_mfx_supplier.cpp b/_studio/shared/umc/codec/h264_dec/src/umc_h264_mfx_supplier.cpp index 0d09030bad..e21964ce3e 100644 --- a/_studio/shared/umc/codec/h264_dec/src/umc_h264_mfx_supplier.cpp +++ b/_studio/shared/umc/codec/h264_dec/src/umc_h264_mfx_supplier.cpp @@ -1318,6 +1318,7 @@ mfxStatus MFX_Utility::Query(VideoCORE *core, mfxVideoParam *in, mfxVideoParam * sts = MFX_ERR_UNSUPPORTED; } + out->mfx.FrameInfo.Shift = in->mfx.FrameInfo.Shift; switch (in->mfx.FrameInfo.PicStruct) { case MFX_PICSTRUCT_UNKNOWN: