summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b7b8467)
raw | patch | inline | side by side (parent: b7b8467)
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | |
Tue, 6 Dec 2011 13:55:15 +0000 (14:55 +0100) | ||
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | |
Tue, 6 Dec 2011 13:55:57 +0000 (14:55 +0100) |
plugins/elements/gstfakesink.c | patch | blob | history |
index 976297e8caaa1d82bd6202dd297ea9fc3d0d5f73..202d07b861cbb2cee66d3240839c4e19590c682e 100644 (file)
gst_event_parse_sink_message (event, &msg);
sstr = gst_structure_to_string (msg->structure);
sink->last_message =
- g_strdup_printf ("message ******* M (type: %d, %s) %p",
+ g_strdup_printf ("message ******* (%s:%s) M (type: %d, %s) %p",
+ GST_DEBUG_PAD_NAME (GST_BASE_SINK_CAST (sink)->sinkpad),
GST_MESSAGE_TYPE (msg), sstr, msg);
gst_message_unref (msg);
} else {
}
sink->last_message =
- g_strdup_printf ("event ******* E (type: %d, %s) %p",
+ g_strdup_printf ("event ******* (%s:%s) E (type: %d, %s) %p",
+ GST_DEBUG_PAD_NAME (GST_BASE_SINK_CAST (sink)->sinkpad),
GST_EVENT_TYPE (event), sstr, event);
}
g_free (sstr);
}
sink->last_message =
- g_strdup_printf ("chain ******* < (%5d bytes, timestamp: %s"
+ g_strdup_printf ("chain ******* (%s:%s) (%u bytes, timestamp: %s"
", duration: %s, offset: %" G_GINT64_FORMAT ", offset_end: %"
- G_GINT64_FORMAT ", flags: %d %s) %p", GST_BUFFER_SIZE (buf), ts_str,
+ G_GINT64_FORMAT ", flags: %d %s) %p",
+ GST_DEBUG_PAD_NAME (GST_BASE_SINK_CAST (sink)->sinkpad),
+ GST_BUFFER_SIZE (buf), ts_str,
dur_str, GST_BUFFER_OFFSET (buf), GST_BUFFER_OFFSET_END (buf),
GST_MINI_OBJECT_CAST (buf)->flags, flag_str, buf);
GST_OBJECT_UNLOCK (sink);