summaryrefslogtreecommitdiff
path: root/src/sydra.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-09-22 20:29:49 +0200
committerChristian Pointner <equinox@spreadspace.org>2014-09-22 20:29:49 +0200
commit86982b686762f74635239c2e8a18dcfef02b7d35 (patch)
tree9a29ad3d8128fddfe962eb68b1eaa3ea46d468ea /src/sydra.c
parentchanging udp port mapping (diff)
added parser for qos messages
Diffstat (limited to 'src/sydra.c')
-rw-r--r--src/sydra.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sydra.c b/src/sydra.c
index 3e494e1..2fba47a 100644
--- a/src/sydra.c
+++ b/src/sydra.c
@@ -108,6 +108,13 @@ static gboolean bus_call(GstBus *bus, GstMessage *msg, gpointer data)
log_printf(INFO, "New clock: %s", (clock ? GST_OBJECT_NAME (clock) : "NULL"));
break;
}
+ case GST_MESSAGE_QOS: {
+ guint64 running_time, stream_time, timestamp, duration;
+ gst_message_parse_qos(msg, NULL, &running_time, &stream_time, &timestamp, &duration);
+ log_printf(WARNING, "Element '%s' dropped frames running_time=%lu, stream_time=%lu, timestamp=%lu, duration=%lu",
+ (msg->src ? GST_OBJECT_NAME(msg->src) : "NULL"), running_time, stream_time, timestamp, duration);
+ break;
+ }
/* case GST_MESSAGE_STREAM_STATUS: */
/* { */
/* GstStreamStatusType type; */