mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 00:58:12 +00:00
winks: adjust a couple of logging severities
Should clearly not be considered warnings, as they're quite common.
This commit is contained in:
parent
0e4e351b83
commit
b88b25ab9b
2 changed files with 2 additions and 2 deletions
|
@ -1000,7 +1000,7 @@ gst_ks_video_device_read_frame (GstKsVideoDevice * self, guint8 * buf,
|
||||||
if (G_LIKELY (GST_CLOCK_TIME_IS_VALID (timestamp))) {
|
if (G_LIKELY (GST_CLOCK_TIME_IS_VALID (timestamp))) {
|
||||||
if (G_UNLIKELY (GST_CLOCK_TIME_IS_VALID (priv->last_timestamp) &&
|
if (G_UNLIKELY (GST_CLOCK_TIME_IS_VALID (priv->last_timestamp) &&
|
||||||
timestamp < priv->last_timestamp)) {
|
timestamp < priv->last_timestamp)) {
|
||||||
GST_WARNING ("got an old frame (last_timestamp=%" GST_TIME_FORMAT
|
GST_INFO ("got an old frame (last_timestamp=%" GST_TIME_FORMAT
|
||||||
", timestamp=%" GST_TIME_FORMAT ")",
|
", timestamp=%" GST_TIME_FORMAT ")",
|
||||||
GST_TIME_ARGS (priv->last_timestamp),
|
GST_TIME_ARGS (priv->last_timestamp),
|
||||||
GST_TIME_ARGS (timestamp));
|
GST_TIME_ARGS (timestamp));
|
||||||
|
|
|
@ -809,7 +809,7 @@ gst_ks_video_src_timestamp_buffer (GstKsVideoSrc * self, GstBuffer * buf,
|
||||||
/* REVISIT: I've seen this happen with the GstSystemClock on Windows,
|
/* REVISIT: I've seen this happen with the GstSystemClock on Windows,
|
||||||
* scary... */
|
* scary... */
|
||||||
if (timestamp < priv->prev_ts) {
|
if (timestamp < priv->prev_ts) {
|
||||||
GST_WARNING_OBJECT (self, "clock is ticking backwards");
|
GST_INFO_OBJECT (self, "clock is ticking backwards");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue