Merge pull request #1186 from huili2/diff_logic_WME_master
modify the logic for WME usage
This commit is contained in:
commit
a0320dac5d
@ -327,8 +327,7 @@ uint8_t* ParseNalHeader (PWelsDecoderContext pCtx, SNalUnitHeader* pNalUnitHeade
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((uiAvailNalNum == 1) && ((NAL_UNIT_CODED_SLICE_IDR == pNalUnitHeader->eNalUnitType)
|
if ((uiAvailNalNum == 1) && CheckNextAuNewSeq (pCtx, pCurNal, pCurNal->sNalData.sVclNal.sSliceHeaderExt.sSliceHeader.pSps)) {
|
||||||
|| (pCurNal->sNalHeaderExt.bIdrFlag))) {
|
|
||||||
ResetActiveSPSForEachLayer (pCtx);
|
ResetActiveSPSForEachLayer (pCtx);
|
||||||
}
|
}
|
||||||
if ((uiAvailNalNum > 1) &&
|
if ((uiAvailNalNum > 1) &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user