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 Jan 3, 2024
1 parent 60d11f5 commit 617db28
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,11 +320,8 @@ MOS_STATUS JpegPipelineM12::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 617db28

Please sign in to comment.