projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de29ae7
)
pool: debug the config
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 2 Jun 2011 16:13:10 +0000
(18:13 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 2 Jun 2011 16:13:10 +0000
(18:13 +0200)
gst/gstbufferpool.c
patch
|
blob
|
history
diff --git
a/gst/gstbufferpool.c
b/gst/gstbufferpool.c
index
067551c
..
58f2a4f
100644
(file)
--- a/
gst/gstbufferpool.c
+++ b/
gst/gstbufferpool.c
@@
-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;
}
}