pad: allow NULL as filter caps argument with query_caps()
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 14 Dec 2011 12:13:36 +0000 (12:13 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 14 Dec 2011 12:13:36 +0000 (12:13 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=666154

gst/gstutils.c

index 0683dad..7516d6d 100644 (file)
@@ -3015,7 +3015,7 @@ gst_pad_peer_query_convert (GstPad * pad, GstFormat src_format, gint64 src_val,
 /**
  * gst_pad_query_caps:
  * @pad: a  #GstPad to get the capabilities of.
- * @filter: suggested #GstCaps.
+ * @filter: (allow-none): suggested #GstCaps, or NULL
  *
  * Gets the capabilities this pad can produce or consume.
  * Note that this method doesn't necessarily return the caps set by
@@ -3064,7 +3064,7 @@ gst_pad_query_caps (GstPad * pad, GstCaps * filter)
 /**
  * gst_pad_peer_query_caps:
  * @pad: a  #GstPad to get the capabilities of.
- * @filter: a #GstCaps filter.
+ * @filter: (allow-none): a #GstCaps filter, or NULL.
  *
  * Gets the capabilities of the peer connected to this pad. Similar to
  * gst_pad_query_caps().