Changeset 508 in SHVCSoftware


Ignore:
Timestamp:
3 Dec 2013, 18:51:59 (11 years ago)
Author:
seregin
Message:

correct the slice type setting as suggested in the ticket #8

Location:
branches/SHM-4.1-dev/source/Lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-4.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r507 r508  
    21202120#if M0457_COL_PICTURE_SIGNALING
    21212121#if REMOVE_COL_PICTURE_SIGNALING
    2122       rpcSlice->setMFMEnabledFlag( rpcSlice->getNumMotionPredRefLayers() > 0 ? true : false );
     2122      rpcSlice->setMFMEnabledFlag( ( rpcSlice->getNumMotionPredRefLayers() > 0 && rpcSlice->getActiveNumILRRefIdx() ) ? true : false );
    21232123#else
    21242124      rpcSlice->setMFMEnabledFlag( false );
  • branches/SHM-4.1-dev/source/Lib/TLibEncoder/TEncSlice.cpp

    r494 r508  
    430430
    431431#if SVC_EXTENSION
    432   if(m_pcCfg->getLayerId() > 0)
     432  if( m_pcCfg->getLayerId() > 0 && m_pcCfg->getNumActiveRefLayers() > 0 )
    433433  {
    434434    eSliceType=B_SLICE;
Note: See TracChangeset for help on using the changeset viewer.