Skip to content

Commit

Permalink
Return resolution_change once parameter is changed
Browse files Browse the repository at this point in the history
Signed-off-by: Shao-Feng <[email protected]>
  • Loading branch information
Shao-Feng committed Feb 13, 2025
1 parent 3dffe07 commit d1e86ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _studio/mfx_lib/decode/h264/src/mfx_h264_dec_decode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1258,6 +1258,7 @@ mfxStatus VideoDECODEH264::DecodeFrameCheck(mfxBitstream *bs, mfxFrameSurface1 *
}

MFX_CHECK(umcRes != UMC::UMC_NTF_NEW_RESOLUTION, MFX_ERR_INCOMPATIBLE_VIDEO_PARAM);
MFX_CHECK(sts != MFX_WRN_VIDEO_PARAM_CHANGED, MFX_ERR_INCOMPATIBLE_VIDEO_PARAM);
}

if (umcRes == UMC::UMC_ERR_INVALID_STREAM)
Expand Down

0 comments on commit d1e86ba

Please sign in to comment.