utils: Update annotation for get_compatible_pad
authorJens Georg <mail@jensge.org>
Sun, 29 Jul 2012 21:20:07 +0000 (23:20 +0200)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 30 Jul 2012 15:05:41 +0000 (16:05 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=680804

gst/gstutils.c

index 1c2435d..53866dc 100644 (file)
@@ -974,7 +974,7 @@ gst_pad_check_link (GstPad * srcpad, GstPad * sinkpad)
  * gst_element_get_compatible_pad:
  * @element: (transfer none): a #GstElement in which the pad should be found.
  * @pad: (transfer none): the #GstPad to find a compatible one for.
- * @caps: the #GstCaps to use as a filter.
+ * @caps: (allow-none): the #GstCaps to use as a filter.
  *
  * Looks for an unlinked pad to which the given pad can link. It is not
  * guaranteed that linking the pads will work, though it should work in most