Skip to content

Commit

Permalink
Return resolution_change once parameter is changed in H265
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 d1e86ba commit c7ac087
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _studio/mfx_lib/decode/h265/src/mfx_h265_dec_decode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit c7ac087

Please sign in to comment.