rtp: fix some GIR annotations

Mostly related to out and array parameters.
This commit is contained in:
Mark Nauwelaerts 2018-04-20 21:53:10 +02:00 committed by Tim-Philipp Müller
parent 8ab2f96b63
commit 8bbb802c3e
4 changed files with 20 additions and 20 deletions

View file

@ -694,11 +694,11 @@ gst_rtcp_packet_get_length (GstRTCPPacket * packet)
/** /**
* gst_rtcp_packet_sr_get_sender_info: * gst_rtcp_packet_sr_get_sender_info:
* @packet: a valid SR #GstRTCPPacket * @packet: a valid SR #GstRTCPPacket
* @ssrc: result SSRC * @ssrc: (out): result SSRC
* @ntptime: result NTP time * @ntptime: (out): result NTP time
* @rtptime: result RTP time * @rtptime: (out): result RTP time
* @packet_count: result packet count * @packet_count: (out): result packet count
* @octet_count: result octet count * @octet_count: (out): result octet count
* *
* Parse the SR sender info and store the values. * Parse the SR sender info and store the values.
*/ */
@ -847,13 +847,13 @@ gst_rtcp_packet_get_rb_count (GstRTCPPacket * packet)
* gst_rtcp_packet_get_rb: * gst_rtcp_packet_get_rb:
* @packet: a valid SR or RR #GstRTCPPacket * @packet: a valid SR or RR #GstRTCPPacket
* @nth: the nth report block in @packet * @nth: the nth report block in @packet
* @ssrc: result for data source being reported * @ssrc: (out): result for data source being reported
* @fractionlost: result for fraction lost since last SR/RR * @fractionlost: (out): result for fraction lost since last SR/RR
* @packetslost: result for the cumululative number of packets lost * @packetslost: (out): result for the cumululative number of packets lost
* @exthighestseq: result for the extended last sequence number received * @exthighestseq: (out): result for the extended last sequence number received
* @jitter: result for the interarrival jitter * @jitter: (out): result for the interarrival jitter
* @lsr: result for the last SR packet from this source * @lsr: (out): result for the last SR packet from this source
* @dlsr: result for the delay since last SR packet * @dlsr: (out): result for the delay since last SR packet
* *
* Parse the values of the @nth report block in @packet and store the result in * Parse the values of the @nth report block in @packet and store the result in
* the values. * the values.
@ -1044,7 +1044,7 @@ gst_rtcp_packet_set_rb (GstRTCPPacket * packet, guint nth, guint32 ssrc,
/** /**
* gst_rtcp_packet_set_profile_specific_ext: * gst_rtcp_packet_add_profile_specific_ext:
* @packet: a valid SR or RR #GstRTCPPacket * @packet: a valid SR or RR #GstRTCPPacket
* @data: (array length=len) (transfer none): profile-specific data * @data: (array length=len) (transfer none): profile-specific data
* @len: length of the profile-specific data in bytes * @len: length of the profile-specific data in bytes
@ -1747,7 +1747,7 @@ no_space:
/** /**
* gst_rtcp_packet_bye_add_ssrcs: * gst_rtcp_packet_bye_add_ssrcs:
* @packet: a valid BYE #GstRTCPPacket * @packet: a valid BYE #GstRTCPPacket
* @ssrc: an array of SSRCs to add * @ssrc: (array length=len) (transfer none): an array of SSRCs to add
* @len: number of elements in @ssrc * @len: number of elements in @ssrc
* *
* Adds @len SSRCs in @ssrc to BYE @packet. * Adds @len SSRCs in @ssrc to BYE @packet.

View file

@ -434,7 +434,7 @@ gst_rtp_base_audio_payload_set_meta (GstRTPBaseAudioPayload * payload,
/** /**
* gst_rtp_base_audio_payload_push: * gst_rtp_base_audio_payload_push:
* @baseaudiopayload: a #GstRTPBasePayload * @baseaudiopayload: a #GstRTPBasePayload
* @data: data to set as payload * @data: (array length=payload_len): data to set as payload
* @payload_len: length of payload * @payload_len: length of payload
* @timestamp: a #GstClockTime * @timestamp: a #GstClockTime
* *

View file

@ -1249,7 +1249,7 @@ gst_rtp_buffer_compare_seqnum (guint16 seqnum1, guint16 seqnum2)
/** /**
* gst_rtp_buffer_ext_timestamp: * gst_rtp_buffer_ext_timestamp:
* @exttimestamp: a previous extended timestamp * @exttimestamp: (inout): a previous extended timestamp
* @timestamp: a new timestamp * @timestamp: a new timestamp
* *
* Update the @exttimestamp field with the extended timestamp of @timestamp * Update the @exttimestamp field with the extended timestamp of @timestamp

View file

@ -54,9 +54,9 @@ gst_rtp_hdrext_set_ntp_64 (gpointer data, guint size, guint64 ntptime)
/** /**
* gst_rtp_hdrext_get_ntp_64: * gst_rtp_hdrext_get_ntp_64:
* @data: the data to read from * @data: (array length=size) (element-type guint8): the data to read from
* @size: the size of @data * @size: the size of @data
* @ntptime: the result NTP time * @ntptime: (out): the result NTP time
* *
* Reads the NTP time from the @size NTP-64 extension bytes in @data and store the * Reads the NTP time from the @size NTP-64 extension bytes in @data and store the
* result in @ntptime. * result in @ntptime.
@ -104,9 +104,9 @@ gst_rtp_hdrext_set_ntp_56 (gpointer data, guint size, guint64 ntptime)
/** /**
* gst_rtp_hdrext_get_ntp_56: * gst_rtp_hdrext_get_ntp_56:
* @data: the data to read from * @data: (array length=size) (element-type guint8): the data to read from
* @size: the size of @data * @size: the size of @data
* @ntptime: the result NTP time * @ntptime: (out): the result NTP time
* *
* Reads the NTP time from the @size NTP-56 extension bytes in @data and store the * Reads the NTP time from the @size NTP-56 extension bytes in @data and store the
* result in @ntptime. * result in @ntptime.