Skip to content
Snippets Groups Projects
Commit ef67c18f authored by Xiang Li's avatar Xiang Li
Browse files

Merge branch 'nosei' into 'master'

Fix condition regulating output of NAL units in SEI removal app

See merge request !524
parents bf762cae a9ccd27c
No related branches found
No related tags found
1 merge request!524Fix condition regulating output of NAL units in SEI removal app
Pipeline #1486 passed
......@@ -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 )
{
......
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