Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b85569f authored by Saurabh Kothawade's avatar Saurabh Kothawade
Browse files

msm: vidc: Update layer ID initialization



This is a workaround. Set layer ID to zero.
Revert this once FW change is ready.

CRs-Fixed: 2036502
Change-Id: I8bdf2da75c1382de279c9e39db815d186d853561
Signed-off-by: default avatarSaurabh Kothawade <skothawa@codeaurora.org>
parent fa403c81
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1265,7 +1265,7 @@ int msm_venc_s_ctrl(struct msm_vidc_inst *inst, struct v4l2_ctrl *ctrl)
	{
	{
		property_id = HAL_CONFIG_VENC_TARGET_BITRATE;
		property_id = HAL_CONFIG_VENC_TARGET_BITRATE;
		bitrate.bit_rate = ctrl->val;
		bitrate.bit_rate = ctrl->val;
		bitrate.layer_id = MSM_VIDC_ALL_LAYER_ID;
		bitrate.layer_id = 0;
		pdata = &bitrate;
		pdata = &bitrate;
		inst->bitrate = ctrl->val;
		inst->bitrate = ctrl->val;
		break;
		break;