set_clock functions: Add nullable annotations
authorMathieu Duponchelle <mathieu@centricular.com>
Tue, 13 Feb 2018 17:59:16 +0000 (18:59 +0100)
committerMathieu Duponchelle <mathieu@centricular.com>
Tue, 13 Feb 2018 17:59:49 +0000 (18:59 +0100)
gst/rtsp-server/rtsp-media-factory.c
gst/rtsp-server/rtsp-media.c

index e5ad6a8..9093847 100644 (file)
@@ -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.
index 5ef4dc0..500e8b9 100644 (file)
@@ -1512,7 +1512,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.
  */