*
* Since: 0.10.32
*
- * Returns: The name of the @target.
+ * Returns: (transfer none): The name of the @target.
*/
const gchar *
gst_encoding_target_get_name (GstEncodingTarget * target)
*
* Since: 0.10.32
*
- * Returns: The category of the @target.
+ * Returns: (transfer none): The category of the @target.
*/
const gchar *
gst_encoding_target_get_category (GstEncodingTarget * target)
*
* Since: 0.10.32
*
- * Returns: The description of the @target.
+ * Returns: (transfer none): The description of the @target.
*/
const gchar *
gst_encoding_target_get_description (GstEncodingTarget * target)
*
* Since: 0.10.32
*
- * Returns: A list of #GstEncodingProfile(s) this @target handles.
+ * Returns: (transfer none) (element-type Gst.EncodingProfile): A list of
+ * #GstEncodingProfile(s) this @target handles.
*/
const GList *
gst_encoding_target_get_profiles (GstEncodingTarget * target)
/**
* gst_encoding_target_new:
* @name: The name of the target.
- * @category: The name of the category to which this @target belongs.
- * @description: A description of #GstEncodingTarget in the current locale.
- * @profiles: A #GList of #GstEncodingProfile.
+ * @category: (transfer none): The name of the category to which this @target
+ * belongs.
+ * @description: (transfer none): A description of #GstEncodingTarget in the
+ * current locale.
+ * @profiles: (transfer none) (element-type Gst.EncodingProfile): A #GList of
+ * #GstEncodingProfile.
*
* Creates a new #GstEncodingTarget.
*
*
* Since: 0.10.32
*
- * Returns: The newly created #GstEncodingTarget or %NULL if there was an
- * error.
+ * Returns: (transfer full): The newly created #GstEncodingTarget or %NULL if
+ * there was an error.
*/
GstEncodingTarget *
/**
* gst_encoding_target_add_profile:
* @target: the #GstEncodingTarget to add a profile to
- * @profile: the #GstEncodingProfile to add
+ * @profile: (transfer full): the #GstEncodingProfile to add
*
* Adds the given @profile to the @target.
*
*
* Since: 0.10.32
*
- * Returns: The #GstEncodingTarget contained in the file, else %NULL
+ * Returns: (transfer full): The #GstEncodingTarget contained in the file, else
+ * %NULL
*/
GstEncodingTarget *
*
* Since: 0.10.32
*
- * Returns: The #GstEncodingTarget if available, else %NULL
+ * Returns: (transfer full): The #GstEncodingTarget if available, else %NULL.
*/
GstEncodingTarget *
* Finds the #GstDiscovererStreamInfo contained in @info that match the
* given @streamtype.
*
- * Returns: A #GList of matching #GstDiscovererStreamInfo. The caller should
- * free it with #gst_discoverer_stream_info_list_free.
+ * Returns: (transfer full) (element-type Gst.DiscovererStreamInfo): A #GList of
+ * matching #GstDiscovererStreamInfo. The caller should free it with
+ * gst_discoverer_stream_info_list_free().
*
* Since: 0.10.31
*/
*
* Finds all the #GstDiscovererAudioInfo contained in @info
*
- * Returns: A #GList of matching #GstDiscovererStreamInfo. The caller should
- * free it with #gst_discoverer_stream_info_list_free.
+ * Returns: (transfer full) (element-type Gst.DiscovererStreamInfo): A #GList of
+ * matching #GstDiscovererStreamInfo. The caller should free it with
+ * gst_discoverer_stream_info_list_free().
*
* Since: 0.10.31
*/
*
* Finds all the #GstDiscovererVideoInfo contained in @info
*
- * Returns: A #GList of matching #GstDiscovererStreamInfo. The caller should
- * free it with #gst_discoverer_stream_info_list_free.
+ * Returns: (transfer full) (element-type Gst.DiscovererStreamInfo): A #GList of
+ * matching #GstDiscovererStreamInfo. The caller should free it with
+ * gst_discoverer_stream_info_list_free().
*
* Since: 0.10.31
*/
*
* Finds all the #GstDiscovererContainerInfo contained in @info
*
- * Returns: A #GList of matching #GstDiscovererStreamInfo. The caller should
- * free it with #gst_discoverer_stream_info_list_free.
+ * Returns: (transfer full) (element-type Gst.DiscovererStreamInfo): A #GList of
+ * matching #GstDiscovererStreamInfo. The caller should free it with
+ * gst_discoverer_stream_info_list_free().
*
* Since: 0.10.31
*/
* gst_discoverer_stream_info_get_previous:
* @info: a #GstDiscovererStreamInfo
*
- * Returns: the previous #GstDiscovererStreamInfo in a chain. %NULL for starting
- * points. Unref with #gst_discoverer_stream_info_unref after usage.
+ * Returns: (transfer full): the previous #GstDiscovererStreamInfo in a chain.
+ * %NULL for starting points. Unref with #gst_discoverer_stream_info_unref
+ * after usage.
*
* Since: 0.10.31
*/
* gst_discoverer_stream_info_get_next:
* @info: a #GstDiscovererStreamInfo
*
- * Returns: the next #GstDiscovererStreamInfo in a chain. %NULL for final streams.
+ * Returns: (transfer full): the next #GstDiscovererStreamInfo in a chain. %NULL
+ * for final streams.
* Unref with #gst_discoverer_stream_info_unref after usage.
*
* Since: 0.10.31
* gst_discoverer_stream_info_get_caps:
* @info: a #GstDiscovererStreamInfo
*
- * Returns: the #GstCaps of the stream. Unref with #gst_caps_unref after usage.
+ * Returns: (transfer full): the #GstCaps of the stream. Unref with
+ * #gst_caps_unref after usage.
*
* Since: 0.10.31
*/
* gst_discoverer_stream_info_get_tags:
* @info: a #GstDiscovererStreamInfo
*
- * Returns: the tags contained in this stream. If you wish to use the tags after
- * the life-time of @info you will need to copy them.
+ * Returns: (transfer none): the tags contained in this stream. If you wish to
+ * use the tags after the life-time of @info you will need to copy them.
*
* Since: 0.10.31
*/
* gst_discoverer_stream_info_get_misc:
* @info: a #GstDiscovererStreamInfo
*
- * Returns: additional information regarding the stream (for example codec version,
- * profile, etc..). If you wish to use the #GstStructure after the life-time of
- * @info you will need to copy it.
+ * Returns: (transfer none): additional information regarding the stream (for
+ * example codec version, profile, etc..). If you wish to use the #GstStructure
+ * after the life-time of @info you will need to copy it.
*
* Since: 0.10.31
*/
* gst_discoverer_container_info_get_streams:
* @info: a #GstDiscovererStreamInfo
*
- * Returns: the list of #GstDiscovererStreamInfo this container stream offers.
- * Free with #gst_discoverer_stream_info_list_free after usage.
+ * Returns: (transfer full) (element-type Gst.DiscovererStreamInfo): the list of
+ * #GstDiscovererStreamInfo this container stream offers.
+ * Free with gst_discoverer_stream_info_list_free() after usage.
*
* Since: 0.10.31
*/
* gst_discoverer_info_get_uri:
* @info: a #GstDiscovererInfo
*
- * Returns: the URI to which this information corresponds to. Copy it if you
- * wish to use it after the life-time of @info.
+ * Returns: (transfer none): the URI to which this information corresponds to.
+ * Copy it if you wish to use it after the life-time of @info.
*
* Since: 0.10.31
*/
* gst_discoverer_info_get_stream_info:
* @info: a #GstDiscovererInfo
*
- * Returns: the structure (or topology) of the URI as a #GstDiscovererStreamInfo.
+ * Returns: (transfer full): the structure (or topology) of the URI as a
+ * #GstDiscovererStreamInfo.
* This structure can be traversed to see the original hierarchy. Unref with
- * #gst_discoverer_stream_info_unref after usage.
+ * gst_discoverer_stream_info_unref() after usage.
*
* Since: 0.10.31
*/
* gst_discoverer_info_get_stream_list:
* @info: a #GstDiscovererInfo
*
- * Returns: the list of all streams contained in the #info. Free after usage
- * with #gst_discoverer_stream_info_list_free.
+ * Returns: (transfer full) (element-type Gst.DiscovererStreamInfo): the list of
+ * all streams contained in the #info. Free after usage
+ * with gst_discoverer_stream_info_list_free().
*
* Since: 0.10.31
*/
* gst_discoverer_info_get_misc:
* @info: a #GstDiscovererInfo
*
- * Returns: Miscellaneous information stored as a #GstStructure (for example:
- * information about missing plugins). If you wish to use the #GstStructure
- * after the life-time of @info, you will need to copy it.
+ * Returns: (transfer none): Miscellaneous information stored as a #GstStructure
+ * (for example: information about missing plugins). If you wish to use the
+ * #GstStructure after the life-time of @info, you will need to copy it.
*
* Since: 0.10.31
*/
* gst_discoverer_info_get_tags:
* @info: a #GstDiscovererInfo
*
- * Returns: all tags contained in the %URI. If you wish to use the tags after
- * the life-time of @info, you will need to copy them.
+ * Returns: (transfer none): all tags contained in the %URI. If you wish to use
+ * the tags after the life-time of @info, you will need to copy them.
*
* Since: 0.10.31
*/
* that a source element for a particular URI protocol is missing. This
* function is mainly for use in plugins.
*
- * Returns: a new #GstMessage, or NULL on error
+ * Returns: (transfer full): a new #GstMessage, or NULL on error
*/
GstMessage *
gst_missing_uri_source_message_new (GstElement * element,
* that a sink element for a particular URI protocol is missing. This
* function is mainly for use in plugins.
*
- * Returns: a new #GstMessage, or NULL on error
+ * Returns: (transfer full): a new #GstMessage, or NULL on error
*/
GstMessage *
gst_missing_uri_sink_message_new (GstElement * element, const gchar * protocol)
* that a certain required element is missing. This function is mainly for
* use in plugins.
*
- * Returns: a new #GstMessage, or NULL on error
+ * Returns: (transfer full): a new #GstMessage, or NULL on error
*/
GstMessage *
gst_missing_element_message_new (GstElement * element,
* that a decoder element for a particular set of (fixed) caps is missing.
* This function is mainly for use in plugins.
*
- * Returns: a new #GstMessage, or NULL on error
+ * Returns: (transfer full): a new #GstMessage, or NULL on error
*/
GstMessage *
gst_missing_decoder_message_new (GstElement * element,
* that an encoder element for a particular set of (fixed) caps is missing.
* This function is mainly for use in plugins.
*
- * Returns: a new #GstMessage, or NULL on error
+ * Returns: (transfer full): a new #GstMessage, or NULL on error
*/
GstMessage *
gst_missing_encoder_message_new (GstElement * element,