diff --git a/source/Lib/EncoderLib/EncGOP.cpp b/source/Lib/EncoderLib/EncGOP.cpp
index 94f797ad..9dbb1970 100644
a
|
b
|
void EncGOP::compressGOP( int iPOCLast, int iNumPicRcvd, PicList& rcListPic, |
2158 | 2158 | } |
2159 | 2159 | pcSlice->setTLayer(m_pcCfg->getGOPEntry(iGOPid).m_temporalId); |
2160 | 2160 | |
| 2161 | // Set the nal unit type |
| 2162 | pcSlice->setNalUnitType(getNalUnitType(pocCurr, m_iLastIDR, isField)); |
2161 | 2163 | #if JVET_Q0819_PH_CHANGES |
2162 | 2164 | // set two flags according to slice type presented in the picture |
2163 | 2165 | if (pcSlice->getSliceType() != I_SLICE) |
… |
… |
void EncGOP::compressGOP( int iPOCLast, int iNumPicRcvd, PicList& rcListPic, |
2170 | 2172 | } |
2171 | 2173 | picHeader->setGdrOrIrapPicFlag(picHeader->getGdrPicFlag() || pcSlice->isIRAP()); |
2172 | 2174 | #endif |
2173 | | // Set the nal unit type |
2174 | | pcSlice->setNalUnitType(getNalUnitType(pocCurr, m_iLastIDR, isField)); |
2175 | 2175 | |
2176 | 2176 | if (m_pcCfg->getEfficientFieldIRAPEnabled()) |
2177 | 2177 | { |