From 2e034d11ee5300f3686d7ceede5b967b01c9817d Mon Sep 17 00:00:00 2001 From: Ashwini Muduganti Date: Tue, 6 Oct 2020 13:32:42 -0700 Subject: [PATCH] Revert "msm: vidc: Disable timestamp store-fetch logic" This reverts commit 8f4637a4ac8337abe0d2dcca630d725f418d9201. Signed-off-by: Ashwini Muduganti --- msm/vidc/msm_vidc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/msm/vidc/msm_vidc.c b/msm/vidc/msm_vidc.c index 9f2fd2e570c2..cf10f063a732 100644 --- a/msm/vidc/msm_vidc.c +++ b/msm/vidc/msm_vidc.c @@ -433,7 +433,7 @@ int msm_vidc_qbuf(void *instance, struct media_device *mdev, timestamp_us = (s64)((b->timestamp.tv_sec * 1000000) + b->timestamp.tv_usec); if (is_decode_session(inst) && b->type == INPUT_MPLANE && - !is_heif_decoder(inst) && !is_secure_session(inst)) { + !is_heif_decoder(inst)) { if (inst->flush_timestamps) msm_comm_release_timestamps(inst); inst->flush_timestamps = false; @@ -515,8 +515,7 @@ int msm_vidc_dqbuf(void *instance, struct v4l2_buffer *b) if (is_decode_session(inst) && b->type == OUTPUT_MPLANE && !(b->flags & V4L2_BUF_FLAG_CODECCONFIG) && - !is_heif_decoder(inst) && - !is_secure_session(inst)) + !is_heif_decoder(inst)) msm_comm_fetch_ts_framerate(inst, b); return rc;