Skip to content

Commit fe70a03

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

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

_studio/mfx_lib/vpp/src/mfx_vpp_sw_core.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,14 +1140,6 @@ mfxStatus VideoVPPBase::Reset(mfxVideoParam *par)
11401140
return MFX_ERR_INCOMPATIBLE_VIDEO_PARAM;
11411141
}
11421142

1143-
/* in general, in/out resolution should be <= m_initParam.resolution */
1144-
if( (par->vpp.In.Width > m_InitState.In.Width) || (par->vpp.In.Height > m_InitState.In.Height) ||
1145-
(par->vpp.Out.Width > m_InitState.Out.Width) || (par->vpp.Out.Height > m_InitState.Out.Height) )
1146-
{
1147-
return MFX_ERR_INCOMPATIBLE_VIDEO_PARAM;
1148-
}
1149-
//-----------------------------------------------------
1150-
11511143
bool isCompositionModeInNewParams = IsCompositionMode(par);
11521144
// Enabling/disabling composition via Reset() doesn't work currently.
11531145
// This is a workaround to prevent undefined behavior.

0 commit comments

Comments
 (0)