Ticket #1336: 0001-Bug-fix-picture-dumping-in-response-to-NoOutputOfPri.patch

File 0001-Bug-fix-picture-dumping-in-response-to-NoOutputOfPri.patch, 1.2 KB (added by jackh, 6 years ago)
  • source/App/TAppDecoder/TAppDecTop.cpp

    From f863f519917ab06d74200f52721d4bcb3d6cb6b9 Mon Sep 17 00:00:00 2001
    From: Jack Haughton <jack.haughton@argondesign.com>
    Date: Wed, 15 Oct 2014 14:19:46 +0100
    Subject: [PATCH 1/2] Bug fix: picture dumping in response to
     NoOutputOfPriorPicsFlag
    
    ---
     source/App/TAppDecoder/TAppDecTop.cpp |    2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/source/App/TAppDecoder/TAppDecTop.cpp b/source/App/TAppDecoder/TAppDecTop.cpp
    index 2282487..2445014 100644
    a b Void TAppDecTop::decode() 
    221221      {
    222222        m_cTDecTop.checkNoOutputPriorPics( pcListPic );
    223223        m_cTDecTop.setNoOutputPriorPicsFlag (false);
     224        xFlushOutput( pcListPic );
    224225      }
    225226      if ( bNewPicture &&
    226227           (   nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_IDR_W_RADL
    Void TAppDecTop::decode() 
    233234      }
    234235      if (nalu.m_nalUnitType == NAL_UNIT_EOS)
    235236      {
    236         xWriteOutput( pcListPic, nalu.m_temporalId );
    237237        m_cTDecTop.setFirstSliceInPicture (false);
    238238      }
    239239      // write reconstruction to file -- for additional bumping as defined in C.5.2.3