driver: video: disable dynamic fps detection logic for image session

Image session should run as fast as possible mode and dynamic
framerate detection is not applicable for image session. So
added change to disable that feature for image decode session.

Change-Id: Ifcfeb24d1f70009ba48e9ade77bd765c1b0e8fd7
Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
This commit is contained in:
Govindaraj Rajagopal
2021-07-02 20:59:34 +05:30
parent 5b091c785c
commit 48dff0980d
2 changed files with 7 additions and 11 deletions

View File

@@ -842,7 +842,7 @@ static int handle_output_buffer(struct msm_vidc_inst *inst,
inst->power.fw_cr = inst->hfi_frame_info.cr;
}
if (is_decode_session(inst) && buf->data_size)
if (!is_image_session(inst) && is_decode_session(inst) && buf->data_size)
msm_vidc_update_timestamp(inst, buf->timestamp);
print_vidc_buffer(VIDC_HIGH, "high", "dqbuf", inst, buf);