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

Commit 349732b1 authored by Qiwei Liu's avatar Qiwei Liu
Browse files

msm: vidc: update LTRUse maximum limit



This parameter is used as a bitmap instead of
index, update the maximum limit accordingly.

Change-Id: I2a06001db25c4d948a834e8758805bfcd37b0e69
Signed-off-by: default avatarQiwei Liu <qiweil@codeaurora.org>
parent 8c889a1f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -531,7 +531,7 @@ static struct msm_vidc_ctrl msm_venc_ctrls[] = {
		.name = "H264 Use LTR",
		.type = V4L2_CTRL_TYPE_INTEGER,
		.minimum = 0,
		.maximum = (MAX_LTR_FRAME_COUNT - 1),
		.maximum = ((1 << MAX_LTR_FRAME_COUNT) - 1),
		.default_value = 0,
		.step = 1,
		.qmenu = NULL,