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

Commit 689d7f89 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: Add same fd ref only for static buffer mode"

parents fb227837 f32bc522
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -532,7 +532,9 @@ int map_and_register_buf(struct msm_vidc_inst *inst, struct v4l2_buffer *b)
		if (rc < 0)
		if (rc < 0)
			goto exit;
			goto exit;


		same_fd_handle = get_same_fd_buffer(&inst->registeredbufs,
		if (!is_dynamic_output_buffer_mode(b, inst))
			same_fd_handle = get_same_fd_buffer(
						&inst->registeredbufs,
						b->m.planes[i].reserved[0]);
						b->m.planes[i].reserved[0]);


		populate_buf_info(binfo, b, i);
		populate_buf_info(binfo, b, i);