From 8e92cb4a7d56cdfa4674315c64b58c1b1b9d8208 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 14 Jun 2010 17:33:16 +0200 Subject: pad: fix comment --- gst/gstpad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gstpad.c b/gst/gstpad.c index e376857321..bb8dedaca1 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -2181,10 +2181,10 @@ gst_pad_get_caps_unlocked (GstPad * pad) GST_CAT_DEBUG_OBJECT (GST_CAT_CAPS, pad, "get pad caps"); - /* If the parent element is in GST_STATE_NULL, return the template caps */ + /* If the pad is not negotiable, return the template caps */ if (G_UNLIKELY (!GST_PAD_IS_NEGOTIABLE (pad) && GST_PAD_PAD_TEMPLATE (pad))) { GST_CAT_DEBUG_OBJECT (GST_CAT_CAPS, pad, - "parent element is in GST_STATE_NULL, using pad templates"); + "pad is not negotiable, using pad template"); result = gst_caps_ref (GST_PAD_TEMPLATE_CAPS (GST_PAD_PAD_TEMPLATE (pad))); goto done; } -- cgit v1.2.3