QCamera: increase inflight request count for video

Need increase request count for video to counter the scheduling fluactuation.

Bug: 28311997
Change-Id: I470f01b91b61a9032d44f09dae337c1376ea3dac
diff --git a/msm8998/QCamera2/HAL3/QCamera3HWI.cpp b/msm8998/QCamera2/HAL3/QCamera3HWI.cpp
index 786ec1e..f821541 100644
--- a/msm8998/QCamera2/HAL3/QCamera3HWI.cpp
+++ b/msm8998/QCamera2/HAL3/QCamera3HWI.cpp
@@ -4175,7 +4175,7 @@
             if (rc == NO_ERROR) {
                 int32_t max_fps =
                     (int32_t) meta.find(ANDROID_CONTROL_AE_TARGET_FPS_RANGE).data.i32[1];
-                if (max_fps == 60) {
+                if (max_fps == 60 || mCaptureIntent == ANDROID_CONTROL_CAPTURE_INTENT_VIDEO_RECORD) {
                     mMinInFlightRequests = MIN_INFLIGHT_60FPS_REQUESTS;
                 }
                 /* For HFR, more buffers are dequeued upfront to improve the performance */