From 4fcbe3e3363fff03e456a69a80f3cb7f19f7c005 Mon Sep 17 00:00:00 2001
From: Ezequiel Garcia <ezequiel@collabora.com>
Date: Tue, 9 Feb 2021 10:35:31 -0300
Subject: [PATCH] Demote level and profile controls messages

Now that this is working, the messages are too verbose.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
---
 libv4l-rockchip_v2/libv4l-encplugin-rockchip.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libv4l-rockchip_v2/libv4l-encplugin-rockchip.c b/libv4l-rockchip_v2/libv4l-encplugin-rockchip.c
index 3327527..80fa37a 100644
--- a/libv4l-rockchip_v2/libv4l-encplugin-rockchip.c
+++ b/libv4l-rockchip_v2/libv4l-encplugin-rockchip.c
@@ -490,14 +490,14 @@ static int ioctl_s_ctrl_locked(struct encoder_context *ctx, int fd,
 		runtime_param_ptr->keyframe_request = true;
 		return 0;
 	case V4L2_CID_MPEG_VIDEO_BITRATE:
-		VLOG_FD(0, "Setting bitrate to %d", ctrl->value);
+		VLOG_FD(2, "Setting bitrate to %d", ctrl->value);
 		runtime_param_ptr->bitrate = ctrl->value;
 		return 0;
 	case V4L2_CID_MPEG_VIDEO_PREPEND_SPSPPS_TO_IDR:
 		ctx->init_param.h264e.h264_sps_pps_before_idr = ctrl->value;
 		return 0;
 	case V4L2_CID_MPEG_VIDEO_H264_PROFILE:
-		VLOG_FD(0, "setting H264 profile %d.", ctrl->value);
+		VLOG_FD(2, "setting H264 profile %d.", ctrl->value);
 		ctx->init_param.h264e.v4l2_h264_profile = ctrl->value;
 		break;
 	case V4L2_CID_MPEG_VIDEO_H264_LEVEL:
-- 
GitLab