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

Commit d9ff5acf authored by Chinmay Sawarkar's avatar Chinmay Sawarkar
Browse files

msm: vidc: Update bit_depth in reconfig event



Firmware will trigger a reconfig event in case the bit depth
changes. This updated bit depth  must be passed on to the client.

CRs-Fixed: 2214018
Change-Id: I8e2e00d441a2cefade7e8929c4364366f75fef3c
Signed-off-by: default avatarChinmay Sawarkar <chinmays@codeaurora.org>
parent be49c613
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1719,6 +1719,7 @@ static void handle_event_change(enum hal_command_response cmd, void *data)
	inst->in_reconfig = true;
	inst->reconfig_height = event_notify->height;
	inst->reconfig_width = event_notify->width;
	inst->bit_depth = event_notify->bit_depth;

	if (msm_comm_get_stream_output_mode(inst) ==
			HAL_VIDEO_DECODER_SECONDARY) {