Changeset 596 in SHVCSoftware for branches/SHM-5.0-dev/source/App


Ignore:
Timestamp:
2 Feb 2014, 19:30:45 (11 years ago)
Author:
seregin
Message:

fix LayerIdIncludedFlag setting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.0-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r593 r596  
    977977      g_uiPCMBitDepthChroma = m_bPCMInputBitDepthFlag ? m_acLayerCfg[layerId].m_inputBitDepthC : m_acLayerCfg[layerId].m_internalBitDepthC;
    978978#endif
    979       vps->setLayerIdIncludedFlag(true, setId, layerId);
     979      if( layerId <= setId )
     980      {
     981        vps->setLayerIdIncludedFlag(true, setId, layerId);
     982      }
     983      else
     984      {
     985        vps->setLayerIdIncludedFlag(false, setId, layerId);
     986      }
    980987    }
    981988  }
Note: See TracChangeset for help on using the changeset viewer.