pool: debug the config

This commit is contained in:
Wim Taymans 2011-06-02 18:13:10 +02:00
parent de29ae7b92
commit d2d23074af

View file

@ -372,6 +372,8 @@ default_set_config (GstBufferPool * pool, GstStructure * config)
&max_buffers, &prefix, &postfix, &align))
goto wrong_config;
GST_DEBUG_OBJECT (pool, "config %" GST_PTR_FORMAT, config);
priv->size = size;
priv->min_buffers = min_buffers;
priv->max_buffers = max_buffers;
@ -383,7 +385,7 @@ default_set_config (GstBufferPool * pool, GstStructure * config)
wrong_config:
{
GST_WARNING_OBJECT (pool, "invalid config");
GST_WARNING_OBJECT (pool, "invalid config %" GST_PTR_FORMAT, config);
return FALSE;
}
}