Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions _studio/mfx_lib/vpp/src/mfx_vpp_sw_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down