We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad1c93f commit fe70a03Copy full SHA for fe70a03
1 file changed
_studio/mfx_lib/vpp/src/mfx_vpp_sw_core.cpp
@@ -1140,14 +1140,6 @@ mfxStatus VideoVPPBase::Reset(mfxVideoParam *par)
1140
return MFX_ERR_INCOMPATIBLE_VIDEO_PARAM;
1141
}
1142
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
-
1151
bool isCompositionModeInNewParams = IsCompositionMode(par);
1152
// Enabling/disabling composition via Reset() doesn't work currently.
1153
// This is a workaround to prevent undefined behavior.
0 commit comments