pad: fix debug line

Use QUERY_TYPE on query types.
This commit is contained in:
Wim Taymans 2012-07-18 17:44:54 +02:00
parent 961151e569
commit 3b6e5acbce

View 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);