diff --git a/_studio/mfx_lib/encode_hw/vp9/src/mfx_vp9_encode_hw.cpp b/_studio/mfx_lib/encode_hw/vp9/src/mfx_vp9_encode_hw.cpp index c4db11db71..17a82acbd7 100644 --- a/_studio/mfx_lib/encode_hw/vp9/src/mfx_vp9_encode_hw.cpp +++ b/_studio/mfx_lib/encode_hw/vp9/src/mfx_vp9_encode_hw.cpp @@ -1152,7 +1152,7 @@ mfxStatus MFXVideoENCODEVP9_HW::UpdateBitstream( // Update bitstream fields task.m_pBitsteam->TimeStamp = task.m_timeStamp; - task.m_pBitsteam->FrameType = mfxU16(task.m_frameParam.frameType == KEY_FRAME ? MFX_FRAMETYPE_I : MFX_FRAMETYPE_P); + task.m_pBitsteam->FrameType = mfxU16(task.m_frameParam.frameType == KEY_FRAME ? (MFX_FRAMETYPE_I | MFX_FRAMETYPE_IDR) : MFX_FRAMETYPE_P); task.m_pBitsteam->PicStruct = MFX_PICSTRUCT_PROGRESSIVE; if (mfxExtAVCEncodedFrameInfo * encFrameInfo = GetExtBuffer(*(task.m_pBitsteam)))