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

Commit eef1c481 authored by Surajit Podder's avatar Surajit Podder Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: Update resolution on session continue



Update port resolution on session continue, to ensure
client gets the correct dimension on g_fmt.

Change-Id: I79d389cc636e946a94d119a77f2d50e948edf33d
Signed-off-by: default avatarSurajit Podder <spodder@codeaurora.org>
parent 1d9aee75
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -5971,6 +5971,10 @@ int msm_comm_session_continue(void *instance)
			goto sess_continue_fail;
		}
		inst->in_reconfig = false;
		inst->prop.height[CAPTURE_PORT] = inst->reconfig_height;
		inst->prop.width[CAPTURE_PORT] = inst->reconfig_width;
		inst->prop.height[OUTPUT_PORT] = inst->reconfig_height;
		inst->prop.width[OUTPUT_PORT] = inst->reconfig_width;
	} else if (inst->session_type == MSM_VIDC_ENCODER) {
		dprintk(VIDC_DBG,
				"session_continue not supported for encoder");