Commit ef67c18f authored by Xiang Li's avatar Xiang Li

Merge branch 'nosei' into 'master'

Fix condition regulating output of NAL units in SEI removal app

See merge request jvet/VVCSoftware_VTM!524
parents bf762cae a9ccd27c
Pipeline #1486 passed with stage
......@@ -129,7 +129,7 @@ uint32_t SEIRemovalApp::decode()
// just kick out all suffix SEIS
bWrite &= (( !m_discardSuffixSEIs || nalu.m_nalUnitType != NAL_UNIT_SUFFIX_SEI ) && ( !m_discardPrefixSEIs || nalu.m_nalUnitType != NAL_UNIT_PREFIX_SEI ));
bWrite &= unitCnt >= m_numNALUnitsToSkip;
bWrite &= m_numNALUnitsToWrite > 0 && unitCnt <= m_numNALUnitsToWrite;
bWrite &= m_numNALUnitsToWrite < 0 || unitCnt <= m_numNALUnitsToWrite;
if( bWrite )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment