Commit 0267e797 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

audiosrc: improve 'Dropped n samples' warning message

parent b6fdf68d
......@@ -802,7 +802,9 @@ gst_base_audio_src_create (GstBaseSrc * bsrc, guint64 offset, guint length,
G_GUINT64_FORMAT, sample - src->next_sample, sample);
GST_ELEMENT_WARNING (src, CORE, CLOCK,
(_("Can't record audio fast enough")),
("dropped %" G_GUINT64_FORMAT " samples", sample - src->next_sample));
("Dropped %" G_GUINT64_FORMAT " samples. This is most likely because "
"downstream can't keep up and is consuming samples too slowly.",
sample - src->next_sample));
GST_BUFFER_FLAG_SET (buf, GST_BUFFER_FLAG_DISCONT);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment