From 45b095c66644539b43d814c6bfefaf259e3bdac2 Mon Sep 17 00:00:00 2001 From: Branislav Katreniak Date: Mon, 12 Jan 2015 12:58:27 +0100 Subject: [PATCH] inter: silence messages for flushed / created samples These messages are logged periodically and polute the log https://bugzilla.gnome.org/show_bug.cgi?id=741592 --- gst/inter/gstinteraudiosink.c | 2 +- gst/inter/gstinteraudiosrc.c | 2 +- gst/inter/gstintervideosrc.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/inter/gstinteraudiosink.c b/gst/inter/gstinteraudiosink.c index a2b07ac968..22ab7ed05a 100644 --- a/gst/inter/gstinteraudiosink.c +++ b/gst/inter/gstinteraudiosink.c @@ -307,7 +307,7 @@ gst_inter_audio_sink_render (GstBaseSink * sink, GstBuffer * buffer) n = gst_adapter_available (interaudiosink->surface->audio_adapter) / bpf; while (n > buffer_samples) { - GST_WARNING_OBJECT (interaudiosink, "flushing %" GST_TIME_FORMAT, + GST_DEBUG_OBJECT (interaudiosink, "flushing %" GST_TIME_FORMAT, GST_TIME_ARGS (period_time)); gst_adapter_flush (interaudiosink->surface->audio_adapter, period_samples * bpf); diff --git a/gst/inter/gstinteraudiosrc.c b/gst/inter/gstinteraudiosrc.c index 911bb8f0e7..9ee416de43 100644 --- a/gst/inter/gstinteraudiosrc.c +++ b/gst/inter/gstinteraudiosrc.c @@ -395,7 +395,7 @@ gst_inter_audio_src_create (GstBaseSrc * src, guint64 offset, guint size, GstMapInfo map; GstMemory *mem; - GST_WARNING_OBJECT (interaudiosrc, + GST_DEBUG_OBJECT (interaudiosrc, "creating %" G_GUINT64_FORMAT " samples of silence", period_samples - n); mem = gst_allocator_alloc (NULL, (period_samples - n) * bpf, NULL); diff --git a/gst/inter/gstintervideosrc.c b/gst/inter/gstintervideosrc.c index 3bab9f832a..f6d2de5767 100644 --- a/gst/inter/gstintervideosrc.c +++ b/gst/inter/gstintervideosrc.c @@ -424,7 +424,7 @@ gst_inter_video_src_create (GstBaseSrc * src, guint64 offset, guint size, } if (buffer == NULL) { - GST_WARNING_OBJECT (intervideosrc, "Creating black frame"); + GST_DEBUG_OBJECT (intervideosrc, "Creating black frame"); buffer = gst_buffer_copy (intervideosrc->black_frame); }