fix for simulcast case when the frame rate of lower resolution is higher, and add test case

This commit is contained in:
Sijia Chen
2015-09-21 15:42:17 -07:00
parent 5c301defba
commit 53c057a8a8
5 changed files with 183 additions and 25 deletions

View File

@@ -156,7 +156,7 @@ typedef struct TagWelsEncCtx {
EWelsSliceType eSliceType; // currently coding slice type
EWelsNalUnitType eNalType; // NAL type
EWelsNalRefIdc eNalPriority; // NAL_Reference_Idc currently
EWelsNalRefIdc eLastNalPriority; // NAL_Reference_Idc in last frame
EWelsNalRefIdc eLastNalPriority[MAX_DEPENDENCY_LAYER]; // NAL_Reference_Idc in last frame
uint8_t iNumRef0;
uint8_t uiDependencyId; // Idc of dependecy layer to be coded