webrtc: fix g-i annotations for allow-none

'allow none' doesn't exist, and 'allow-none' is now deprecated.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4146>
This commit is contained in:
Tim-Philipp Müller 2023-03-10 12:46:34 +00:00 committed by GStreamer Marge Bot
parent 9835032727
commit 99ee8af782
2 changed files with 2 additions and 2 deletions

View file

@ -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
*/

View file

@ -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
*/