Changeset 1435 in SHVCSoftware for branches/SHM-dev
- Timestamp:
- 11 Aug 2015, 20:49:15 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1434 r1435 972 972 Void TEncGOP::xCreatePictureTimingSEI (Int IRAPGOPid, SEIMessages& seiMessages, SEIMessages& nestedSeiMessages, SEIMessages& duInfoSeiMessages, TComSlice *slice, Bool isField, std::deque<DUData> &duData) 973 973 { 974 Int picSptDpbOutputDuDelay = 0;975 SEIPictureTiming *pictureTimingSEI = new SEIPictureTiming();976 977 974 const TComVUI *vui = slice->getSPS()->getVuiParameters(); 978 975 const TComHRD *hrd = vui->getHrdParameters(); … … 983 980 ( hrd->getNalHrdParametersPresentFlag() || hrd->getVclHrdParametersPresentFlag() ) ) 984 981 { 982 Int picSptDpbOutputDuDelay = 0; 983 SEIPictureTiming *pictureTimingSEI = new SEIPictureTiming(); 984 985 985 // DU parameters 986 986 if( hrd->getSubPicCpbParamsPresentFlag() ) … … 1099 1099 duInfoSeiMessages.push_back(duInfoSEI); 1100 1100 } 1101 } 1102 1103 if( !m_pcCfg->getPictureTimingSEIEnabled() && pictureTimingSEI ) 1104 { 1105 delete pictureTimingSEI; 1101 1106 } 1102 1107 }
Note: See TracChangeset for help on using the changeset viewer.