Skip to content

Commit

Permalink
Remove the limitation of VPP resolution reset.
Browse files Browse the repository at this point in the history
Signed-off-by: Zhang, Furong <[email protected]>
  • Loading branch information
FurongZhang committed May 23, 2023
1 parent ad1c93f commit e5cb7a9
Showing 1 changed file with 0 additions and 13 deletions.
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

0 comments on commit e5cb7a9

Please sign in to comment.