Skip to content
Snippets Groups Projects
Commit e3a5b866 authored by Remy Foray's avatar Remy Foray
Browse files

Fix #1422: dpb parameters inference when subLayerInfoFlag = 0

parent 9d3f3afa
No related branches found
No related tags found
No related merge requests found
......@@ -1316,6 +1316,16 @@ void HLSyntaxReader::dpb_parameters(int maxSubLayersMinus1, bool subLayerInfoFla
READ_UVLC(code, "dpb_max_latency_increase_plus1[i]");
pcSPS->setMaxLatencyIncreasePlus1(code, i);
}
if (!subLayerInfoFlag)
{
for(int i = 0; i < maxSubLayersMinus1; ++i)
{
pcSPS->setMaxDecPicBuffering(pcSPS->getMaxDecPicBuffering(maxSubLayersMinus1), i);
pcSPS->setMaxNumReorderPics(pcSPS->getMaxNumReorderPics(maxSubLayersMinus1), i);
pcSPS->setMaxLatencyIncreasePlus1(pcSPS->getMaxLatencyIncreasePlus1(maxSubLayersMinus1), i);
}
}
}
......
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