Skip to content
Snippets Groups Projects
Commit 754541e0 authored by Xiang Li's avatar Xiang Li
Browse files

Fix olsHrdParam retrieving (should be m_temporalId instead of m_nuhLayerId)

parent 4ce06fd4
No related branches found
No related tags found
1 merge request!2246Y4M support at both encoder and decoder (#206)
Pipeline #7483 passed
......@@ -433,7 +433,7 @@ uint32_t DecApp::decode()
if(sps->getGeneralHrdParametersPresentFlag())
{
const auto hrd = sps->getGeneralHrdParameters();
const auto olsHrdParam = sps->getOlsHrdParameters()[nalu.m_nuhLayerId];
const auto olsHrdParam = sps->getOlsHrdParameters()[nalu.m_temporalId];
int elementDurationInTc = 1;
if (olsHrdParam.getFixedPicRateWithinCvsFlag())
{
......
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