Ticket #1069: TDecTop.cpp.patch

File TDecTop.cpp.patch, 1.0 KB (added by pieterkapsenberg, 12 years ago)
  • TDecTop.cpp

     
    308308  m_apcSlicePilot->setTLayerInfo(nalu.m_temporalId);
    309309
    310310  m_cEntropyDecoder.decodeSliceHeader (m_apcSlicePilot, &m_parameterSetManagerDecoder);
    311   if (m_apcSlicePilot->isNextSlice())
     311  // Skip pictures due to random access
     312  if (isRandomAccessSkipPicture(iSkipFrame, iPOCLastDisplay))
    312313  {
    313     // Skip pictures due to random access
    314     if (isRandomAccessSkipPicture(iSkipFrame, iPOCLastDisplay))
    315     {
    316       return false;
    317     }
    318     // Skip TFD pictures associated with BLA/BLANT pictures
    319     if (isSkipPictureForBLA(iPOCLastDisplay))
    320     {
    321       return false;
    322     }
    323   }
    324 
     314    return false;
     315  }
     316  // Skip TFD pictures associated with BLA/BLANT pictures
     317  if (isSkipPictureForBLA(iPOCLastDisplay))
     318  {
     319    return false;
     320  }
    325321  // exit when a new picture is found
    326322  if (m_apcSlicePilot->isNextSlice() && m_apcSlicePilot->getPOC()!=m_prevPOC && !m_bFirstSliceInSequence)
    327323  {