diff --git a/_studio/mfx_lib/decode/h265/src/mfx_h265_dec_decode.cpp b/_studio/mfx_lib/decode/h265/src/mfx_h265_dec_decode.cpp index b7e5a82d..365f5cac 100644 --- a/_studio/mfx_lib/decode/h265/src/mfx_h265_dec_decode.cpp +++ b/_studio/mfx_lib/decode/h265/src/mfx_h265_dec_decode.cpp @@ -1050,7 +1050,8 @@ mfxStatus VideoDECODEH265::DecodeFrameCheck(mfxBitstream *bs, mfxFrameSurface1 * { if (!m_isFirstRun) { - sts = MFX_WRN_VIDEO_PARAM_CHANGED; + //sts = MFX_WRN_VIDEO_PARAM_CHANGED; + sts = MFX_ERR_INCOMPATIBLE_VIDEO_PARAM; } else {