From e79d5093d0c93b9072f45415b29e12b2740db25e Mon Sep 17 00:00:00 2001 From: Pawel Osciak <posciak@chromium.org> Date: Tue, 6 Sep 2016 14:12:41 +0900 Subject: [PATCH] Rockchip: silence a debug message Do not print a debug message with driver name on successful init. BUG=None TEST=veatest Change-Id: Icd363472338bc48455a22366fa043d962d09e2ed Reviewed-on: https://chromium-review.googlesource.com/381088 Commit-Ready: Pawel Osciak <posciak@chromium.org> Tested-by: Pawel Osciak <posciak@chromium.org> Reviewed-by: Kuang-che Wu <kcwu@chromium.org> --- libv4l-rockchip_v2/libv4l-encplugin-rockchip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libv4l-rockchip_v2/libv4l-encplugin-rockchip.c b/libv4l-rockchip_v2/libv4l-encplugin-rockchip.c index 968b1e5..d22ed7d 100644 --- a/libv4l-rockchip_v2/libv4l-encplugin-rockchip.c +++ b/libv4l-rockchip_v2/libv4l-encplugin-rockchip.c @@ -491,7 +491,7 @@ bool is_rockchip_encoder(int fd) { int ret = SYS_IOCTL(fd, VIDIOC_QUERYCAP, &cap); if (ret) return false; - VLOG_FD(0, "driver name return %s\n", (char*)cap.card); + VLOG_FD(1, "driver name return %s\n", (char*)cap.card); return strstr((const char *)cap.card, "-enc") != NULL; } -- GitLab