Ticket #87: TEncSlice.cpp.patch

File TEncSlice.cpp.patch, 418 bytes (added by eeehey, 9 years ago)

Patch to fix #87

  • TEncSlice.cpp

     
    540540  }
    541541
    542542  rpcSlice->setDepth            ( depth );
    543 
    544543  pcPic->setTLayer( temporalId );
    545   if(eSliceType==I_SLICE)
     544  if(eSliceType==I_SLICE  || m_ppcTEncTop[m_pcCfg->getLayerId()]->getPOCLast() == 0)
    546545  {
    547546    pcPic->setTLayer(0);
    548547  }