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

Use conformance window from SPS instead of PPS

parent 7b847728
No related branches found
No related tags found
No related merge requests found
......@@ -490,7 +490,7 @@ uint32_t DecApp::decode()
msg(WARNING, "\nWarning: No frame rate info found in the bitstream, default 50 fps is used.\n");
}
const auto pps = pcListPic->front()->cs->pps;
auto confWindow = pps->getConformanceWindow();
auto confWindow = sps->getConformanceWindow();
const auto sx = SPS::getWinUnitX(sps->getChromaFormatIdc());
const auto sy = SPS::getWinUnitY(sps->getChromaFormatIdc());
const int picWidth = (m_upscaledOutput == 2 ? sps->getMaxPicWidthInLumaSamples() : pps->getPicWidthInLumaSamples())
......
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