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

Commit 01e40300 authored by Shi Zhongbo's avatar Shi Zhongbo
Browse files

msm: venc: use output resolution for vbv delay



Fix to use output port resolution to determine
vbv delay.

Change-Id: Id6dc80f1349d0f5b10be2fa6343fb98816156f58
Signed-off-by: default avatarShi Zhongbo <zhongbos@codeaurora.org>
parent 81204a0c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2615,7 +2615,7 @@ int msm_venc_set_vbv_delay(struct msm_vidc_inst *inst)
	}

	hdev = inst->core->device;
	f = &inst->fmts[INPUT_PORT].v4l2_fmt;
	f = &inst->fmts[OUTPUT_PORT].v4l2_fmt;
	codec = get_v4l2_codec(inst);
	height = f->fmt.pix_mp.height;
	width = f->fmt.pix_mp.width;