mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
basesink: post a warning on excessive framedrops
When we go into emergency rendering, post a warning informing the user about this fact.
This commit is contained in:
parent
5479772bec
commit
484d188440
1 changed files with 3 additions and 0 deletions
|
@ -2476,6 +2476,9 @@ gst_base_sink_is_too_late (GstBaseSink * basesink, GstMiniObject * obj,
|
|||
* second, render it anyway so the user sees something */
|
||||
if (priv->last_in_time != -1 && start - priv->last_in_time > GST_SECOND) {
|
||||
late = FALSE;
|
||||
GST_ELEMENT_WARNING (basesink, CORE, CLOCK,
|
||||
(_("A lot of buffers are dropped.")),
|
||||
("Maybe there is a timestamp problem or this computer is too slow."));
|
||||
GST_DEBUG_OBJECT (basesink,
|
||||
"**emergency** last buffer at %" GST_TIME_FORMAT " > GST_SECOND",
|
||||
GST_TIME_ARGS (priv->last_in_time));
|
||||
|
|
Loading…
Reference in a new issue