Skip to content

Commit e5cb7a9

Browse files
committed
Remove the limitation of VPP resolution reset.
Signed-off-by: Zhang, Furong <furong.zhang@intel.com>
1 parent ad1c93f commit e5cb7a9

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

_studio/mfx_lib/vpp/src/mfx_vpp_sw_core.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -253,23 +253,10 @@ mfxStatus VideoVPPBase::VppFrameCheck(mfxFrameSurface1 *in, mfxFrameSurface1 *ou
253253
sts = CheckInputPicStruct( in->Info.PicStruct );
254254
MFX_CHECK_STS(sts);
255255

256-
/* we have special case for composition:
257-
* if composition enabled sub stream's picture (WxH)
258-
* can be less than primary stream (WxH)
259-
* So, do check frame info only if composition is not enabled */
260-
if (m_errPrtctState.isCompositionModeEnabled == false)
261-
{
262-
sts = CompareFrameInfo( &(in->Info), &(m_errPrtctState.In));
263-
MFX_CHECK_STS(sts);
264-
}
265-
266256
sts = CheckCropParam( &(in->Info) );
267257
MFX_CHECK_STS( sts );
268258
}
269259

270-
sts = CompareFrameInfo( &(out->Info), &(m_errPrtctState.Out));
271-
MFX_CHECK_STS(sts);
272-
273260
sts = CheckCropParam( &(out->Info) );
274261
MFX_CHECK_STS( sts );
275262

0 commit comments

Comments
 (0)