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

Commit daac391f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: Send reconfig height and width along with reconfig event"

parents 68605b57 e4e057a9
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -897,6 +897,13 @@ static void handle_event_change(enum hal_command_response cmd, void *data)
	rc = msm_vidc_check_session_supported(inst);
	if (!rc) {
		seq_changed_event.type = event;
		if (event == V4L2_EVENT_SEQ_CHANGED_INSUFFICIENT) {
			u32 *ptr = NULL;

			ptr = (u32 *)seq_changed_event.u.data;
			ptr[0] = event_notify->height;
			ptr[1] = event_notify->width;
		}
		v4l2_event_queue_fh(&inst->event_handler, &seq_changed_event);
	} else if (rc == -ENOTSUPP) {
		msm_vidc_queue_v4l2_event(inst,