openh264: fix for mac, IDR frames
This commit is contained in:
parent
8743ac19fb
commit
6d112a519a
@ -179,6 +179,8 @@ xrdp_encoder_openh264_encode(void *handle, int session, int left, int top,
|
||||
encParamExt.iRCMode = RC_OFF_MODE;
|
||||
encParamExt.bEnableFrameSkip = 0;
|
||||
encParamExt.iSpatialLayerNum = 1;
|
||||
/* defaults to INCREASING_ID, Mac client needs CONSTANT_ID */
|
||||
encParamExt.eSpsPpsIdStrategy = CONSTANT_ID;
|
||||
slc = encParamExt.sSpatialLayers + 0;
|
||||
slc->fFrameRate = encParamExt.fMaxFrameRate;
|
||||
slc->iVideoWidth = encParamExt.iPicWidth;
|
||||
|
Loading…
Reference in New Issue
Block a user