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
This commit is contained in:
Branislav Katreniak 2015-01-12 12:58:27 +01:00 committed by Sebastian Dröge
parent 442451a30d
commit 45b095c666
3 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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);
}