pad: fix debug line
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 18 Jul 2012 15:44:54 +0000 (17:44 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 18 Jul 2012 15:49:33 +0000 (17:49 +0200)
Use QUERY_TYPE on query types.

gst/gstpad.c

index 21529f1..49b65aa 100644 (file)
@@ -2850,7 +2850,7 @@ static gboolean
 query_forward_func (GstPad * pad, QueryData * data)
 {
   GST_LOG_OBJECT (pad, "query peer %p (%s) of %s:%s",
-      data->query, GST_EVENT_TYPE_NAME (data->query), GST_DEBUG_PAD_NAME (pad));
+      data->query, GST_QUERY_TYPE_NAME (data->query), GST_DEBUG_PAD_NAME (pad));
 
   data->result |= gst_pad_peer_query (pad, data->query);