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.
This commit is contained in:
Gordon Hart 2020-03-05 08:55:44 -08:00 committed by Nicolas Dufresne
parent 7f89085251
commit 05e8dd42e7

View file

@ -953,7 +953,7 @@ retry:
} }
gst_object_sync_values (GST_OBJECT (src), v4l2src->ctrl_time); 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)); GST_TIME_ARGS (v4l2src->ctrl_time), GST_TIME_ARGS (timestamp));
/* use generated offset values only if there are not already valid ones /* use generated offset values only if there are not already valid ones