summaryrefslogtreecommitdiff
path: root/gst/rtsp-server
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2018-02-13 18:59:16 +0100
committerMathieu Duponchelle <mathieu@centricular.com>2018-02-13 18:59:16 +0100
commit9a535be2b935e732dbb6f94ce78527fe1c8bf514 (patch)
tree0c6e84126adc3f7763fe01f919050b0cee163658 /gst/rtsp-server
parentc3ed1e697f6fd582b1779ccff18c65fbdf894faa (diff)
set_clock functions: Add nullable annotations
Diffstat (limited to 'gst/rtsp-server')
-rw-r--r--gst/rtsp-server/rtsp-media-factory.c2
-rw-r--r--gst/rtsp-server/rtsp-media.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtsp-server/rtsp-media-factory.c b/gst/rtsp-server/rtsp-media-factory.c
index 0c003db..72be0bf 100644
--- a/gst/rtsp-server/rtsp-media-factory.c
+++ b/gst/rtsp-server/rtsp-media-factory.c
@@ -1292,7 +1292,7 @@ gst_rtsp_media_factory_get_media_gtype (GstRTSPMediaFactory * factory)
/**
* gst_rtsp_media_factory_set_clock:
* @factory: a #GstRTSPMediaFactory
- * @clock: the clock to be used by the media factory
+ * @clock: (nullable): the clock to be used by the media factory
*
* Configures a specific clock to be used by the pipelines
* of all medias created from this factory.
diff --git a/gst/rtsp-server/rtsp-media.c b/gst/rtsp-server/rtsp-media.c
index 3f6a693..a8e2a43 100644
--- a/gst/rtsp-server/rtsp-media.c
+++ b/gst/rtsp-server/rtsp-media.c
@@ -1437,7 +1437,7 @@ gst_rtsp_media_is_time_provider (GstRTSPMedia * media)
/**
* gst_rtsp_media_set_clock:
* @media: a #GstRTSPMedia
- * @clock: #GstClock to be used
+ * @clock: (nullable): #GstClock to be used
*
* Configure the clock used for the media.
*/