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

Commit 7952fdc9 authored by Maheshwar Ajja's avatar Maheshwar Ajja
Browse files

msm: vidc: Send CODEC CONFG flag to userspace



If video hardware provides the CODEC CONFIG flag then send it
to userspace to avoid video recording usecase failure.

CRs-Fixed: 2041182
Change-Id: Ied469b6c0c46138a62425099d1d0d188affc6a91
Signed-off-by: default avatarMaheshwar Ajja <majja@codeaurora.org>
parent 7fc1bbb1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2342,7 +2342,7 @@ static void handle_fbd(enum hal_command_response cmd, void *data)
		if (fill_buf_done->flags1 & HAL_BUFFERFLAG_EOS)
			vbuf->flags |= V4L2_QCOM_BUF_FLAG_EOS;
		if (fill_buf_done->flags1 & HAL_BUFFERFLAG_CODECCONFIG)
			vbuf->flags &= ~V4L2_QCOM_BUF_FLAG_CODECCONFIG;
			vbuf->flags |= V4L2_QCOM_BUF_FLAG_CODECCONFIG;
		if (fill_buf_done->flags1 & HAL_BUFFERFLAG_SYNCFRAME)
			vbuf->flags |= V4L2_QCOM_BUF_FLAG_IDRFRAME;
		if (fill_buf_done->flags1 & HAL_BUFFERFLAG_EOSEQ)