Ticket #1070: TDecTop.cpp.patch

File TDecTop.cpp.patch, 1.4 KB (added by pieterkapsenberg, 10 years ago)

comments out SEI parameter sets

  • TDecTop.cpp

     
    622622  else
    623623  {
    624624    m_seiReader.parseSEImessage( bs, m_SEIs, nalUnitType, m_parameterSetManagerDecoder.getActiveSPS() );
    625     SEIMessages activeParamSets = getSeisByType(m_SEIs, SEI::ACTIVE_PARAMETER_SETS);
    626     if (activeParamSets.size()>0)
    627     {
    628       SEIActiveParameterSets *seiAps = (SEIActiveParameterSets*)(*activeParamSets.begin());
    629       m_parameterSetManagerDecoder.applyPrefetchedPS();
    630       assert(seiAps->activeSeqParamSetId.size()>0);
    631       if (! m_parameterSetManagerDecoder.activateSPSWithSEI(seiAps->activeSeqParamSetId[0] ))
    632       {
    633         printf ("Warning SPS activation with Active parameter set SEI failed");
    634       }
    635     }
     625    //SEIMessages activeParamSets = getSeisByType(m_SEIs, SEI::ACTIVE_PARAMETER_SETS);
     626    //if (activeParamSets.size()>0)
     627    //{
     628    //  SEIActiveParameterSets *seiAps = (SEIActiveParameterSets*)(*activeParamSets.begin());
     629    //  m_parameterSetManagerDecoder.applyPrefetchedPS();
     630    //  assert(seiAps->activeSeqParamSetId.size()>0);
     631    //  if (! m_parameterSetManagerDecoder.activateSPSWithSEI(seiAps->activeSeqParamSetId[0] ))
     632    //  {
     633    //    printf ("Warning SPS activation with Active parameter set SEI failed");
     634    //  }
     635    //}
    636636  }
    637637}
    638638