diff --git a/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbuffer.c b/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbuffer.c index 399724d8dd..d83bbd2324 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbuffer.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbuffer.c @@ -684,9 +684,9 @@ gst_rtp_buffer_set_extension (GstRTPBuffer * rtp, gboolean extension) /** * gst_rtp_buffer_get_extension_data: (skip) * @rtp: the RTP packet - * @bits: (out): location for result bits - * @data: (out) (array) (element-type guint8) (transfer none): location for data - * @wordlen: (out): location for length of @data in 32 bits words + * @bits: (optional) (out): location for result bits + * @data: (optional) (out) (array) (element-type guint8) (transfer none): location for data + * @wordlen: (optional) (out): location for length of @data in 32 bits words * * Get the extension data. @bits will contain the extension 16 bits of custom * data. @data will point to the data in the extension and @wordlen will contain @@ -1457,9 +1457,9 @@ gst_rtp_buffer_get_extension_onebyte_header_from_bytes (GBytes * bytes, * @rtp: the RTP packet * @id: The ID of the header extension to be read (between 1 and 14). * @nth: Read the nth extension packet with the requested ID - * @data: (out) (array length=size) (element-type guint8) (transfer none): + * @data: (optional) (out) (array length=size) (element-type guint8) (transfer none): * location for data - * @size: (out): the size of the data in bytes + * @size: (optional) (out): the size of the data in bytes * * Parses RFC 5285 style header extensions with a one byte header. It will * return the nth extension with the requested id. @@ -1487,12 +1487,12 @@ gst_rtp_buffer_get_extension_onebyte_header (GstRTPBuffer * rtp, guint8 id, /** * gst_rtp_buffer_get_extension_twobytes_header: * @rtp: the RTP packet - * @appbits: (out): Application specific bits + * @appbits: (optional) (out): Application specific bits * @id: The ID of the header extension to be read (between 1 and 14). * @nth: Read the nth extension packet with the requested ID - * @data: (out) (array length=size) (element-type guint8) (transfer none): + * @data: (optional) (out) (array length=size) (element-type guint8) (transfer none): * location for data - * @size: (out): the size of the data in bytes + * @size: (optional) (out): the size of the data in bytes * * Parses RFC 5285 style header extensions with a two bytes header. It will * return the nth extension with the requested id.