diff --git a/_studio/mfx_lib/vpp/src/mfx_vpp_sw_core.cpp b/_studio/mfx_lib/vpp/src/mfx_vpp_sw_core.cpp index de2f0f9150..3902180a46 100644 --- a/_studio/mfx_lib/vpp/src/mfx_vpp_sw_core.cpp +++ b/_studio/mfx_lib/vpp/src/mfx_vpp_sw_core.cpp @@ -253,23 +253,10 @@ mfxStatus VideoVPPBase::VppFrameCheck(mfxFrameSurface1 *in, mfxFrameSurface1 *ou sts = CheckInputPicStruct( in->Info.PicStruct ); MFX_CHECK_STS(sts); - /* we have special case for composition: - * if composition enabled sub stream's picture (WxH) - * can be less than primary stream (WxH) - * So, do check frame info only if composition is not enabled */ - if (m_errPrtctState.isCompositionModeEnabled == false) - { - sts = CompareFrameInfo( &(in->Info), &(m_errPrtctState.In)); - MFX_CHECK_STS(sts); - } - sts = CheckCropParam( &(in->Info) ); MFX_CHECK_STS( sts ); } - sts = CompareFrameInfo( &(out->Info), &(m_errPrtctState.Out)); - MFX_CHECK_STS(sts); - sts = CheckCropParam( &(out->Info) ); MFX_CHECK_STS( sts );