webrtc: Fix some signals' GIR annotations

This will lead to wrong bindings otherwise (and creates more correct
expectations for developers).
This commit is contained in:
Niels De Graef 2019-05-17 15:28:54 +02:00
parent f7465dea34
commit 7cd4064425

View file

@ -5055,7 +5055,7 @@ gst_webrtc_bin_class_init (GstWebRTCBinClass * klass)
/**
* GstWebRTCBin::create-offer:
* @object: the #webrtcbin
* @options: create-offer options
* @options: (nullable): create-offer options
* @promise: a #GstPromise which will contain the offer
*/
gst_webrtc_bin_signals[CREATE_OFFER_SIGNAL] =
@ -5068,7 +5068,7 @@ gst_webrtc_bin_class_init (GstWebRTCBinClass * klass)
/**
* GstWebRTCBin::create-answer:
* @object: the #webrtcbin
* @options: create-answer options
* @options: (nullable): create-answer options
* @promise: a #GstPromise which will contain the answer
*/
gst_webrtc_bin_signals[CREATE_ANSWER_SIGNAL] =
@ -5265,7 +5265,7 @@ gst_webrtc_bin_class_init (GstWebRTCBinClass * klass)
* @object: the #GstWebRTCBin
* @idx: The index of the transceiver
*
* Returns: the #GstWebRTCRTPTransceiver, or %NULL
* Returns: (transfer full): the #GstWebRTCRTPTransceiver, or %NULL
* Since: 1.16
*/
gst_webrtc_bin_signals[GET_TRANSCEIVER_SIGNAL] =