Skip to content

Commit

Permalink
[Decode] Fix Jpeg dump issue
Browse files Browse the repository at this point in the history
Modify frame index for jpeg bitstream
  • Loading branch information
chuanli1 authored and intel-mediadev committed Dec 6, 2023
1 parent bcae92f commit 5f3f0ff
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,8 @@ MOS_STATUS JpegPipelineXe_Lpm_Plus_Base::Execute()
DECODE_CHK_STATUS(UserFeatureReport());
}

if (m_basicFeature->m_secondField || CodecHal_PictureIsFrame(m_basicFeature->m_curRenderPic))
{
DecodeFrameIndex++;
m_basicFeature->m_frameNum = DecodeFrameIndex;
}
DecodeFrameIndex++;
m_basicFeature->m_frameNum = DecodeFrameIndex;

DECODE_CHK_STATUS(m_statusReport->Reset());
}
Expand Down

0 comments on commit 5f3f0ff

Please sign in to comment.