From a7f8e4a2303016e33449b88276755e1f92167fb8 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 3 Oct 2011 09:29:10 +0200 Subject: [PATCH] gstquery: Make debugging message more informative For all the newcomers out there who still don't know the values of GstQueryType enum by heart... ... and old-timers who've got better things to do :) --- gst/gstquery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstquery.c b/gst/gstquery.c index c917c04760..2b1c382294 100644 --- a/gst/gstquery.c +++ b/gst/gstquery.c @@ -360,7 +360,7 @@ gst_query_new (GstQueryType type, GstStructure * structure) query = (GstQuery *) gst_mini_object_new (GST_TYPE_QUERY); - GST_DEBUG ("creating new query %p %d", query, type); + GST_DEBUG ("creating new query %p %s", query, gst_query_type_get_name (type)); query->type = type;