summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5479772)
raw | patch | inline | side by side (parent: 5479772)
author | Wim Taymans <wim.taymans@collabora.co.uk> | |
Mon, 1 Jun 2009 17:37:14 +0000 (19:37 +0200) | ||
committer | Wim Taymans <wim@metal.(none)> | |
Mon, 1 Jun 2009 17:37:14 +0000 (19:37 +0200) |
When we go into emergency rendering, post a warning informing the user about
this fact.
this fact.
libs/gst/base/gstbasesink.c | patch | blob | history |
index 4c9dd93a73f01e4bacd0893ba08bd019f8a9fc12..53c4a37487aad8777f2395f87cfb67bef0c61f28 100644 (file)
* 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));