Add some missing nullable annotations
authorSebastian Dröge <sebastian@centricular.com>
Sat, 17 Oct 2020 09:35:16 +0000 (12:35 +0300)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 17 Oct 2020 15:30:02 +0000 (15:30 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/876>

gst-libs/gst/app/gstappsink.c
gst-libs/gst/app/gstappsrc.c

index 964b2c1..cfcb1bf 100644 (file)
@@ -1111,7 +1111,7 @@ gst_app_sink_query (GstBaseSink * bsink, GstQuery * query)
 /**
  * gst_app_sink_set_caps:
  * @appsink: a #GstAppSink
- * @caps: caps to set
+ * @caps: (nullable): caps to set
  *
  * Set the capabilities on the appsink element.  This function takes
  * a copy of the caps structure. After calling this method, the sink will only
index 0fc806b..f5bf237 100644 (file)
@@ -1420,7 +1420,7 @@ invalid_segment:
 /**
  * gst_app_src_set_caps:
  * @appsrc: a #GstAppSrc
- * @caps: caps to set
+ * @caps: (nullable): caps to set
  *
  * Set the capabilities on the appsrc element.  This function takes
  * a copy of the caps structure. After calling this method, the source will