mpegts: Add GIR generation array anotations

For function parameters that are known to be arrays.

https://bugzilla.gnome.org/show_bug.cgi?id=796221
This commit is contained in:
Russel Winder 2018-05-18 18:42:43 +01:00 committed by Edward Hervey
parent 07a3bf0e8f
commit bfe26464c9
3 changed files with 17 additions and 17 deletions

View File

@ -1743,7 +1743,7 @@ static void
* gst_mpegts_descriptor_parse_dvb_multilingual_component: * gst_mpegts_descriptor_parse_dvb_multilingual_component:
* @descriptor: a %GST_MTS_DESC_DVB_MULTILINGUAL_COMPONENT * @descriptor: a %GST_MTS_DESC_DVB_MULTILINGUAL_COMPONENT
* #GstMpegtsDescriptor * #GstMpegtsDescriptor
* @component_tag: the component tag * @component_tag: (out): the component tag
* @component_description_items: (out) (transfer full) (element-type GstMpegtsDvbMultilingualComponentItem): * @component_description_items: (out) (transfer full) (element-type GstMpegtsDvbMultilingualComponentItem):
* a #GstMpegtsDvbMultilingualComponentItem * a #GstMpegtsDvbMultilingualComponentItem
* *
@ -1796,7 +1796,7 @@ gst_mpegts_descriptor_parse_dvb_multilingual_component (const
* @descriptor: a %GST_MTS_DESC_DVB_PRIVATE_DATA_SPECIFIER #GstMpegtsDescriptor * @descriptor: a %GST_MTS_DESC_DVB_PRIVATE_DATA_SPECIFIER #GstMpegtsDescriptor
* @private_data_specifier: (out): the private data specifier id * @private_data_specifier: (out): the private data specifier id
* registered by http://www.dvbservices.com/ * registered by http://www.dvbservices.com/
* @private_data: (out) (transfer full)(allow-none): additional data or NULL * @private_data: (out) (transfer full) (allow-none) (array length=length): additional data or NULL
* @length: (out) (allow-none): length of %private_data * @length: (out) (allow-none): length of %private_data
* *
* Parses out the private data specifier from the @descriptor. * Parses out the private data specifier from the @descriptor.
@ -2003,7 +2003,7 @@ gst_mpegts_descriptor_parse_dvb_scrambling (const GstMpegtsDescriptor *
* gst_mpegts_descriptor_parse_dvb_data_broadcast_id: * gst_mpegts_descriptor_parse_dvb_data_broadcast_id:
* @descriptor: a %GST_MTS_DESC_DVB_DATA_BROADCAST_ID #GstMpegtsDescriptor * @descriptor: a %GST_MTS_DESC_DVB_DATA_BROADCAST_ID #GstMpegtsDescriptor
* @data_broadcast_id: (out): the data broadcast id * @data_broadcast_id: (out): the data broadcast id
* @id_selector_bytes: (out) (transfer full): the selector bytes, if present * @id_selector_bytes: (out) (transfer full) (array length=len): the selector bytes, if present
* @len: (out): the length of #id_selector_bytes * @len: (out): the length of #id_selector_bytes
* *
* Parses out the data broadcast id from the @descriptor. * Parses out the data broadcast id from the @descriptor.

View File

@ -841,7 +841,7 @@ gst_mpegts_find_descriptor (GPtrArray * descriptors, guint8 tag)
/** /**
* gst_mpegts_descriptor_from_registration: * gst_mpegts_descriptor_from_registration:
* @format_identifier: (transfer none): a 4 character format identifier string * @format_identifier: (transfer none): a 4 character format identifier string
* @additional_info: (transfer none) (allow-none): pointer to optional additional info * @additional_info: (transfer none) (allow-none) (array length=additional_info_length): pointer to optional additional info
* @additional_info_length: length of the optional @additional_info * @additional_info_length: length of the optional @additional_info
* *
* Creates a %GST_MTS_DESC_REGISTRATION #GstMpegtsDescriptor * Creates a %GST_MTS_DESC_REGISTRATION #GstMpegtsDescriptor
@ -874,7 +874,7 @@ gst_mpegts_descriptor_from_registration (const gchar * format_identifier,
* @descriptor: a %GST_MTS_DESC_CA #GstMpegtsDescriptor * @descriptor: a %GST_MTS_DESC_CA #GstMpegtsDescriptor
* @ca_system_id: (out): the type of CA system used * @ca_system_id: (out): the type of CA system used
* @ca_pid: (out): The PID containing ECM or EMM data * @ca_pid: (out): The PID containing ECM or EMM data
* @private_data: (out) (allow-none): The private data * @private_data: (out) (allow-none) (array length=private_data_size): The private data
* @private_data_size: (out) (allow-none): The size of @private_data in bytes * @private_data_size: (out) (allow-none): The size of @private_data in bytes
* *
* Extracts the Conditional Access information from @descriptor. * Extracts the Conditional Access information from @descriptor.
@ -1104,7 +1104,7 @@ gst_mpegts_descriptor_parse_logical_channel (const GstMpegtsDescriptor *
/** /**
* gst_mpegts_descriptor_from_custom: * gst_mpegts_descriptor_from_custom:
* @tag: descriptor tag * @tag: descriptor tag
* @data: (transfer none): descriptor data (after tag and length field) * @data: (transfer none) (array length=length): descriptor data (after tag and length field)
* @length: length of @data * @length: length of @data
* *
* Creates a #GstMpegtsDescriptor with custom @tag and @data * Creates a #GstMpegtsDescriptor with custom @tag and @data
@ -1131,7 +1131,7 @@ gst_mpegts_descriptor_from_custom (guint8 tag, const guint8 * data,
* gst_mpegts_descriptor_from_custom_with_extension: * gst_mpegts_descriptor_from_custom_with_extension:
* @tag: descriptor tag * @tag: descriptor tag
* @tag_extension: descriptor tag extension * @tag_extension: descriptor tag extension
* @data: (transfer none): descriptor data (after tag and length field) * @data: (transfer none) (array length=length): descriptor data (after tag and length field)
* @length: length of @data * @length: length of @data
* *
* Creates a #GstMpegtsDescriptor with custom @tag, @tag_extension and @data * Creates a #GstMpegtsDescriptor with custom @tag, @tag_extension and @data

View File

@ -1161,7 +1161,7 @@ _packetize_common_section (GstMpegtsSection * section, gsize length)
/** /**
* gst_mpegts_section_new: * gst_mpegts_section_new:
* @pid: the PID to which this section belongs * @pid: the PID to which this section belongs
* @data: (transfer full): a pointer to the beginning of the section (i.e. the first byte * @data: (transfer full) (array length=data_size): a pointer to the beginning of the section (i.e. the first byte
* should contain the table_id field). * should contain the table_id field).
* @data_size: size of the @data argument. * @data_size: size of the @data argument.
* *