utils: fix docs
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 18 Jul 2012 15:30:04 +0000 (17:30 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 18 Jul 2012 15:49:32 +0000 (17:49 +0200)
gst/gstutils.c

index 6bf9d24..1c2435d 100644 (file)
@@ -2777,8 +2777,9 @@ gst_pad_query_caps (GstPad * pad, GstCaps * filter)
  * downstream in the preffered order. @filter might be %NULL but
  * if it is not %NULL the returned caps will be a subset of @filter.
  *
- * Returns: the caps of the peer pad with incremented ref-count. This function
- * returns %NULL when there is no peer pad.
+ * Returns: the caps of the peer pad with incremented ref-count. When there is
+ * no peer pad, this function returns @filter or, when @filter is %NULL, ANY
+ * caps.
  */
 GstCaps *
 gst_pad_peer_query_caps (GstPad * pad, GstCaps * filter)