From d2d23074af249d9c531c1f3dbefbed3cb257cce3 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 2 Jun 2011 18:13:10 +0200 Subject: [PATCH] pool: debug the config --- gst/gstbufferpool.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst/gstbufferpool.c b/gst/gstbufferpool.c index 067551c929..58f2a4fb31 100644 --- 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; } }