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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user