Skip to content
Snippets Groups Projects
Commit 4d8ecb6b authored by Karsten Suehring's avatar Karsten Suehring
Browse files

Merge branch 'bugfix_1044' into 'master'

Fix #1044: Checking for independent layer in case of STSA temporalId constraint

See merge request jvet/VVCSoftware_VTM!1609
parents 559fac60 50ed4090
No related branches found
No related tags found
No related merge requests found
...@@ -1637,7 +1637,7 @@ bool DecLib::xDecodeSlice(InputNALUnit &nalu, int &iSkipFrame, int iPOCLastDispl ...@@ -1637,7 +1637,7 @@ bool DecLib::xDecodeSlice(InputNALUnit &nalu, int &iSkipFrame, int iPOCLastDispl
VPS *vps = m_parameterSetManager.getVPS(sps->getVPSId()); VPS *vps = m_parameterSetManager.getVPS(sps->getVPSId());
if (nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_STSA && vps != nullptr && (vps->getIndependentLayerFlag(nalu.m_nuhLayerId) == 1)) if (nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_STSA && vps != nullptr && (vps->getIndependentLayerFlag(vps->getGeneralLayerIdx(nalu.m_nuhLayerId)) == 1))
{ {
CHECK(nalu.m_temporalId == 0, "TemporalID of STSA picture shall not be zero in independent layers"); CHECK(nalu.m_temporalId == 0, "TemporalID of STSA picture shall not be zero in independent layers");
} }
......
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