From: Gordon Hart Date: Thu, 5 Mar 2020 16:55:44 +0000 (-0800) Subject: v4l2src: decrease gst_v4l2src_create log verbosity X-Git-Tag: 1.19.3~509^2~709 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05e8dd42e744ad9e20337e78551cef0e676e7b4f;p=platform%2Fupstream%2Fgstreamer.git v4l2src: decrease gst_v4l2src_create log verbosity Lower the verbosity of the 'sync' log message emitted each buffer from gst_v4l2src_create down to LOG(6) from INFO(4). This brings the logging behavior of v4l2src closer to the GStreamer guidelines, which recommend the INFO level be reserved for rare or one-off messages. --- diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c index fd35a5272b..039857d82b 100644 --- a/sys/v4l2/gstv4l2src.c +++ b/sys/v4l2/gstv4l2src.c @@ -953,7 +953,7 @@ retry: } gst_object_sync_values (GST_OBJECT (src), v4l2src->ctrl_time); - GST_INFO_OBJECT (src, "sync to %" GST_TIME_FORMAT " out ts %" GST_TIME_FORMAT, + GST_LOG_OBJECT (src, "sync to %" GST_TIME_FORMAT " out ts %" GST_TIME_FORMAT, GST_TIME_ARGS (v4l2src->ctrl_time), GST_TIME_ARGS (timestamp)); /* use generated offset values only if there are not already valid ones