Ticket #1393: NoOutputPriorPicBugFix.patch
File NoOutputPriorPicBugFix.patch, 1.7 KB (added by fhendry, 10 years ago) |
---|
-
Lib/TLibDecoder/TDecTop.cpp
70 70 , m_prevSliceSkipped(false) 71 71 , m_skippedPOC(0) 72 72 , m_bFirstSliceInBitstream(true) 73 , m_lastPOCNoOutputPriorPics(-1)73 //, m_lastPOCNoOutputPriorPics(-1) 74 74 , m_isNoOutputPriorPics(false) 75 75 , m_craNoRaslOutputFlag(false) 76 76 #if O0043_BEST_EFFORT_DECODING … … 235 235 while (iterPic != pcListPic->end()) 236 236 { 237 237 TComPic* pcPicTmp = *(iterPic++); 238 if (m_lastPOCNoOutputPriorPics != pcPicTmp->getPOC())239 {238 //if (m_lastPOCNoOutputPriorPics != pcPicTmp->getPOC()) 239 //{ 240 240 pcPicTmp->setOutputMark(false); 241 }241 //} 242 242 } 243 243 } 244 244 … … 506 506 } 507 507 if (m_apcSlicePilot->getRapPicFlag() && m_apcSlicePilot->getNoOutputPriorPicsFlag()) 508 508 { 509 m_lastPOCNoOutputPriorPics = m_apcSlicePilot->getPOC();509 //m_lastPOCNoOutputPriorPics = m_apcSlicePilot->getPOC(); 510 510 m_isNoOutputPriorPics = true; 511 511 } 512 512 else -
Lib/TLibDecoder/TDecTop.h
102 102 Bool m_prevSliceSkipped; 103 103 Int m_skippedPOC; 104 104 Bool m_bFirstSliceInBitstream; 105 Int m_lastPOCNoOutputPriorPics;105 //Int m_lastPOCNoOutputPriorPics; 106 106 Bool m_isNoOutputPriorPics; 107 107 Bool m_craNoRaslOutputFlag; //value of variable NoRaslOutputFlag of the last CRA pic 108 108 #if O0043_BEST_EFFORT_DECODING