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 :)
This commit is contained in:
Edward Hervey 2011-10-03 09:29:10 +02:00
parent 0ac0b70c15
commit a7f8e4a230

View file

@ -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;