summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Nemerson <evan@nemerson.com>2014-06-11 16:42:08 -0700
committerSebastian Dröge <sebastian@centricular.com>2014-06-26 19:08:56 +0200
commitcecc2cb4ff0b66270da77ad1511f26591ec8947f (patch)
tree816c7efb3e944998a736cec97a33be972808db0c
parent34e6ac3b9f52f74edb2d661b48fd5a2a8751b5be (diff)
introspection: add missing allow-none annotations
https://bugzilla.gnome.org/show_bug.cgi?id=730952
-rw-r--r--gst/rtsp-server/rtsp-client.c3
-rw-r--r--gst/rtsp-server/rtsp-media.c5
-rw-r--r--gst/rtsp-server/rtsp-mount-points.c2
3 files changed, 6 insertions, 4 deletions
diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c
index 65c6230..78c352c 100644
--- a/gst/rtsp-server/rtsp-client.c
+++ b/gst/rtsp-server/rtsp-client.c
@@ -3015,7 +3015,8 @@ gst_rtsp_client_handle_message (GstRTSPClient * client,
/**
* gst_rtsp_client_send_message:
* @client: a #GstRTSPClient
- * @session: (transfer none): a #GstRTSPSession to send the message to or %NULL
+ * @session: (allow-none) (transfer none): a #GstRTSPSession to send
+ * the message to or %NULL
* @message: (transfer none): The #GstRTSPMessage to send
*
* Send a message message to the remote end. @message must be a
diff --git a/gst/rtsp-server/rtsp-media.c b/gst/rtsp-server/rtsp-media.c
index c76fece..cc35372 100644
--- a/gst/rtsp-server/rtsp-media.c
+++ b/gst/rtsp-server/rtsp-media.c
@@ -2217,7 +2217,8 @@ no_rtpbin:
/**
* gst_rtsp_media_prepare:
* @media: a #GstRTSPMedia
- * @thread: (transfer full): a #GstRTSPThread to run the bus handler or %NULL
+ * @thread: (transfer full) (allow-none): a #GstRTSPThread to run the
+ * bus handler or %NULL
*
* Prepare @media for streaming. This function will create the objects
* to manage the streaming. A pipeline must have been set on @media with
@@ -2572,7 +2573,7 @@ not_prepared:
/**
* gst_rtsp_media_get_time_provider:
* @media: a #GstRTSPMedia
- * @address: an address or %NULL
+ * @address: (allow-none): an address or %NULL
* @port: a port or 0
*
* Get the #GstNetTimeProvider for the clock used by @media. The time provider
diff --git a/gst/rtsp-server/rtsp-mount-points.c b/gst/rtsp-server/rtsp-mount-points.c
index 75c872b..c6a8c06 100644
--- a/gst/rtsp-server/rtsp-mount-points.c
+++ b/gst/rtsp-server/rtsp-mount-points.c
@@ -221,7 +221,7 @@ has_prefix (DataItem * str, DataItem * prefix)
* gst_rtsp_mount_points_match:
* @mounts: a #GstRTSPMountPoints
* @path: a mount point
- * @matched: (out): the amount of @path matched
+ * @matched: (out) (allow-none): the amount of @path matched
*
* Find the factory in @mounts that has the longest match with @path.
*