summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortimmyli <timmyli@google.com>2023-11-27 17:51:07 +0000
committertimmyli <timmyli@google.com>2023-11-27 17:52:52 +0000
commit6cd97ce9d044de02559cc42b7ba53c5e048b3a5b (patch)
tree91a78a131ff0537644f5704648b850402f697753
parentac72a107de0f7523a4716eaaab13ff27b46c42ad (diff)
downloadcamera-6cd97ce9d044de02559cc42b7ba53c5e048b3a5b.tar.gz
Add log to include video_fps_throttle flag
We should add this log to record whether video fps throttle flag is set for debugging purposes. Bug: 311324323 Test: mm Change-Id: I3aacb1887e20e309ca07ba85aae7b8f54417f8a5
-rw-r--r--common/hal/utils/utils.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/hal/utils/utils.cc b/common/hal/utils/utils.cc
index 605cf92..f2d8122 100644
--- a/common/hal/utils/utils.cc
+++ b/common/hal/utils/utils.cc
@@ -430,9 +430,9 @@ bool IsSessionParameterCompatible(const HalCameraMetadata* old_session,
if (old_max_fps == new_max_fps || ignore_fps_range_diff) {
ALOGI(
"%s: Ignore fps (%d, %d) to (%d, %d). "
- "video_60_to_30fps_thermal_throttle: %u",
+ "video_60_to_30fps_thermal_throttle: %u. video_fps_throttle: %u.",
__FUNCTION__, old_min_fps, old_max_fps, new_min_fps, new_max_fps,
- video_60_to_30fps_thermal_throttle);
+ video_60_to_30fps_thermal_throttle, video_fps_throttle);
continue;
}