mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
pool: debug the config
This commit is contained in:
parent
de29ae7b92
commit
d2d23074af
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue