mm-video-v4l2: vdec: update framerate atleast once

Some containers will not have fps info(like webm), So HAL
will treat default as 30 fps. It will impact HFR usecases,
for example 960 fps usecase, OMX sends all 960 frames to
renderer instead of sending only 60. So updating fps info
atleast once to driver.

Change-Id: I5bdd19a17c84fe7220063bf42781a346d15750f2
Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
diff --git a/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp b/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp
index 9b2cef1..a3bbbbd 100644
--- a/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp
+++ b/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp
@@ -7510,7 +7510,7 @@
 {
     OMX_U32 new_frame_interval = 0;
     if (VALID_TS(act_timestamp) && VALID_TS(prev_ts) && act_timestamp != prev_ts
-            && llabs(act_timestamp - prev_ts) > 2000) {
+            && (llabs(act_timestamp - prev_ts) > 2000 || frm_int == 0)) {
         new_frame_interval = client_set_fps ? frm_int : (act_timestamp - prev_ts) > 0 ?
             llabs(act_timestamp - prev_ts) : llabs(act_timestamp - prev_ts_actual);
         if (new_frame_interval != frm_int || frm_int == 0) {