Skip to content
Snippets Groups Projects
Commit 5af30fca authored by Zhipin Deng's avatar Zhipin Deng
Browse files

add missing macro

parent e9063756
No related branches found
No related tags found
No related merge requests found
...@@ -951,7 +951,12 @@ uint32_t BitstreamExtractorApp::decode() ...@@ -951,7 +951,12 @@ uint32_t BitstreamExtractorApp::decode()
// remove unqualified timing related SEI // remove unqualified timing related SEI
if (sei->payloadType() == SEI::BUFFERING_PERIOD || (m_removeTimingSEI && sei->payloadType() == SEI::PICTURE_TIMING) || sei->payloadType() == SEI::DECODING_UNIT_INFO || sei->payloadType() == SEI::SUBPICTURE_LEVEL_INFO) if (sei->payloadType() == SEI::BUFFERING_PERIOD || (m_removeTimingSEI && sei->payloadType() == SEI::PICTURE_TIMING) || sei->payloadType() == SEI::DECODING_UNIT_INFO || sei->payloadType() == SEI::SUBPICTURE_LEVEL_INFO)
{ {
#if JVET_S0154_ASPECT9_AND_S0158_ASPECT4
writeInpuNalUnitToStream &= targetOlsIncludeAllVclLayers; writeInpuNalUnitToStream &= targetOlsIncludeAllVclLayers;
#else
bool targetOlsIdxGreaterThanZero = m_targetOlsIdx > 0;
writeInpuNalUnitToStream &= !targetOlsIdxGreaterThanZero;
#endif
} }
} }
#if !JVET_S0154_ASPECT9_AND_S0158_ASPECT4 #if !JVET_S0154_ASPECT9_AND_S0158_ASPECT4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment