mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
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:
parent
442451a30d
commit
45b095c666
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue