From 99ee8af782d704425dc412442192d6855de35b04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 10 Mar 2023 12:46:34 +0000 Subject: [PATCH] webrtc: fix g-i annotations for allow-none 'allow none' doesn't exist, and 'allow-none' is now deprecated. Part-of: --- subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c | 2 +- subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c b/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c index c79261a11c..26d954eb59 100644 --- a/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c +++ b/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c @@ -8935,7 +8935,7 @@ gst_webrtc_bin_class_init (GstWebRTCBinClass * klass) * GstWebRTCBin::add-transceiver: * @object: the #webrtcbin * @direction: the direction of the new transceiver - * @caps: (allow none): the codec preferences for this transceiver + * @caps: (nullable): the codec preferences for this transceiver * * Returns: the new #GstWebRTCRTPTransceiver */ diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.c b/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.c index d160216826..22446ffd87 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.c @@ -101,7 +101,7 @@ gst_webrtc_ice_find_transport (GstWebRTCICE * ice, * @ice: The #GstWebRTCICE * @stream: The #GstWebRTCICEStream * @candidate: The ICE candidate - * @promise: (allow none): A #GstPromise for task notifications (Since: 1.24) + * @promise: (nullable): A #GstPromise for task notifications (Since: 1.24) * * Since: 1.22 */