mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
audiosrc: improve 'Dropped n samples' warning message
This commit is contained in:
parent
b6fdf68dc0
commit
0267e79778
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue