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

Commit cf15569f authored by Shi Zhongbo's avatar Shi Zhongbo Committed by Gerrit - the friendly Code Review server
Browse files

msm: vdec: update clock data frame rate



Update clock data frame rate to client's set value
for mbps calculation so as to reject sessions out of
mbps capability.

Change-Id: I62559172b71fb4d2e911c16be7f07110e53f23a1
Signed-off-by: default avatarShi Zhongbo <zhongbos@codeaurora.org>
parent e8004219
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -904,7 +904,9 @@ int msm_vdec_s_ctrl(struct msm_vidc_inst *inst, struct v4l2_ctrl *ctrl)
	case V4L2_CID_MPEG_VIDC_VIDEO_DECODE_ORDER:
	case V4L2_CID_MPEG_VIDC_VIDEO_CONCEAL_COLOR_8BIT:
	case V4L2_CID_MPEG_VIDC_VIDEO_CONCEAL_COLOR_10BIT:
		break;
	case V4L2_CID_MPEG_VIDC_VIDEO_FRAME_RATE:
		inst->clk_data.frame_rate = ctrl->val;
		break;
	case V4L2_CID_MPEG_VIDC_VIDEO_SYNC_FRAME_DECODE:
		inst->flags &= ~VIDC_THUMBNAIL;