Ticket #1226: BUGFIX_TEMPORALID_LEADINGPIC.patch
File BUGFIX_TEMPORALID_LEADINGPIC.patch, 1.0 KB (added by adarsh, 11 years ago) |
---|
-
C:/Users/aramasub/Documents/svn_HEVCSoftware/HM-12.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp
545 545 } 546 546 pcSlice->applyReferencePictureSet(rcListPic, pcSlice->getRPS()); 547 547 548 if(pcSlice->getTLayer() > 0) 548 if(pcSlice->getTLayer() > 0 549 && !( pcSlice->getNalUnitType() == NAL_UNIT_CODED_SLICE_RADL_N // Check if not a leading picture 550 || pcSlice->getNalUnitType() == NAL_UNIT_CODED_SLICE_RADL_R 551 || pcSlice->getNalUnitType() == NAL_UNIT_CODED_SLICE_RASL_N 552 || pcSlice->getNalUnitType() == NAL_UNIT_CODED_SLICE_RASL_R ) 553 ) 549 554 { 550 555 if(pcSlice->isTemporalLayerSwitchingPoint(rcListPic) || pcSlice->getSPS()->getTemporalIdNestingFlag()) 551 556 {