Skip to content
Snippets Groups Projects
Commit f61d4471 authored by Brian Heng's avatar Brian Heng
Browse files

Ignore other NAL units that can come after the last VCL NAL of a skipped RASL pic.

parent 5ea322f9
No related branches found
No related tags found
No related merge requests found
...@@ -2876,7 +2876,15 @@ bool DecLib::decode(InputNALUnit& nalu, int& iSkipFrame, int& iPOCLastDisplay, i ...@@ -2876,7 +2876,15 @@ bool DecLib::decode(InputNALUnit& nalu, int& iSkipFrame, int& iPOCLastDisplay, i
{ {
bool ret; bool ret;
// ignore all NAL units of layers > 0 // ignore all NAL units of layers > 0
if( (nalu.m_nalUnitType != NAL_UNIT_SUFFIX_APS && nalu.m_nalUnitType != NAL_UNIT_FD) || !m_prevSliceSkipped ) if( (nalu.m_nalUnitType != NAL_UNIT_SUFFIX_APS &&
nalu.m_nalUnitType != NAL_UNIT_EOS &&
nalu.m_nalUnitType != NAL_UNIT_EOB &&
nalu.m_nalUnitType != NAL_UNIT_SUFFIX_SEI &&
nalu.m_nalUnitType != NAL_UNIT_FD &&
nalu.m_nalUnitType != NAL_UNIT_RESERVED_NVCL_27 &&
nalu.m_nalUnitType != NAL_UNIT_UNSPECIFIED_30 &&
nalu.m_nalUnitType != NAL_UNIT_UNSPECIFIED_31) ||
!m_prevSliceSkipped )
{ {
AccessUnitInfo auInfo; AccessUnitInfo auInfo;
auInfo.m_nalUnitType = nalu.m_nalUnitType; auInfo.m_nalUnitType = nalu.m_nalUnitType;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment