summaryrefslogtreecommitdiff
path: root/gst/gstinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gstinfo.c')
-rw-r--r--gst/gstinfo.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gst/gstinfo.c b/gst/gstinfo.c
index 36fe1ac988..340e34163f 100644
--- a/gst/gstinfo.c
+++ b/gst/gstinfo.c
@@ -688,11 +688,9 @@ gst_debug_print_object (gpointer ptr)
s = g_strdup ("(NULL)");
}
- ret = g_strdup_printf ("%s event from '%s' at time %"
+ ret = g_strdup_printf ("%s event at time %"
GST_TIME_FORMAT ": %s",
- GST_EVENT_TYPE_NAME (event), (event->src != NULL) ?
- GST_OBJECT_NAME (event->src) : "(NULL)",
- GST_TIME_ARGS (event->timestamp), s);
+ GST_EVENT_TYPE_NAME (event), GST_TIME_ARGS (event->timestamp), s);
g_free (s);
return ret;
}