Revert "pad: fix comment"
authorEdward Hervey <bilboed@bilboed.com>
Tue, 15 Jun 2010 09:48:07 +0000 (11:48 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 15 Jun 2010 09:54:19 +0000 (11:54 +0200)
This reverts commit 8e92cb4a7d56cdfa4674315c64b58c1b1b9d8208.

whatever...

gst/gstpad.c

index bb8deda..e376857 100644 (file)
@@ -2181,10 +2181,10 @@ gst_pad_get_caps_unlocked (GstPad * pad)
 
   GST_CAT_DEBUG_OBJECT (GST_CAT_CAPS, pad, "get pad caps");
 
-  /* If the pad is not negotiable, return the template caps */
+  /* If the parent element is in GST_STATE_NULL, 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,
-        "pad is not negotiable, using pad template");
+        "parent element is in GST_STATE_NULL, using pad templates");
     result = gst_caps_ref (GST_PAD_TEMPLATE_CAPS (GST_PAD_PAD_TEMPLATE (pad)));
     goto done;
   }