[mpp_enc]: Fix error when update bps only

When only bps is updated the whole rc_usr_cfg should be updated.

Change-Id: I02ed8fa247b3b56ac286254c55251b594ff2fab2
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2020-06-01 14:14:04 +08:00
parent cc3966a6d8
commit b8caab0fe0

View File

@@ -304,6 +304,7 @@ static RK_S32 check_rc_cfg_update(MpiCmd cmd, MppEncCfgSet *cfg)
change = cfg->rc.change;
check_flag = MPP_ENC_RC_CFG_CHANGE_RC_MODE |
MPP_ENC_RC_CFG_CHANGE_BPS |
MPP_ENC_RC_CFG_CHANGE_FPS_IN |
MPP_ENC_RC_CFG_CHANGE_FPS_OUT |
MPP_ENC_RC_CFG_CHANGE_GOP;