pbutils: Fix introspection annotations

Fixes #663689
This commit is contained in:
Edward Hervey 2011-11-10 12:47:51 +01:00
parent 9c103f5dc9
commit 3fa654b41c
3 changed files with 22 additions and 10 deletions

View file

@ -449,6 +449,12 @@ gst_encoding_container_profile_class_init (GObjectClass * klass)
klass->finalize = gst_encoding_container_profile_finalize; klass->finalize = gst_encoding_container_profile_finalize;
} }
/**
* gst_encoding_container_profile_get_profiles:
* @profile: a #GstEncodingContainerProfile
*
* Returns: (element-type GstPbutils.EncodingProfile) (transfer none):
* the list of contained #GstEncodingProfile. */
const GList * const GList *
gst_encoding_container_profile_get_profiles (GstEncodingContainerProfile * gst_encoding_container_profile_get_profiles (GstEncodingContainerProfile *
profile) profile)

View file

@ -166,7 +166,7 @@ gst_encoding_target_get_description (GstEncodingTarget * target)
* *
* Since: 0.10.32 * Since: 0.10.32
* *
* Returns: (transfer none) (element-type Gst.EncodingProfile): A list of * Returns: (transfer none) (element-type GstPbutils.EncodingProfile): A list of
* #GstEncodingProfile(s) this @target handles. * #GstEncodingProfile(s) this @target handles.
*/ */
const GList * const GList *
@ -246,7 +246,7 @@ validate_name (const gchar * name)
* belongs. For example: #GST_ENCODING_CATEGORY_DEVICE. * belongs. For example: #GST_ENCODING_CATEGORY_DEVICE.
* @description: (transfer none): A description of #GstEncodingTarget in the * @description: (transfer none): A description of #GstEncodingTarget in the
* current locale. * current locale.
* @profiles: (transfer none) (element-type Gst.EncodingProfile): A #GList of * @profiles: (transfer none) (element-type GstPbutils.EncodingProfile): A #GList of
* #GstEncodingProfile. * #GstEncodingProfile.
* *
* Creates a new #GstEncodingTarget. * Creates a new #GstEncodingTarget.

View file

@ -369,6 +369,12 @@ gst_discoverer_info_new (void)
return (GstDiscovererInfo *) g_object_new (GST_TYPE_DISCOVERER_INFO, NULL); return (GstDiscovererInfo *) g_object_new (GST_TYPE_DISCOVERER_INFO, NULL);
} }
/**
* gst_discoverer_info_copy:
* @ptr: (transfer none): a #GstDiscovererInfo
*
* Returns: (transfer full): A copy of the #GstDiscovererInfo
*/
GstDiscovererInfo * GstDiscovererInfo *
gst_discoverer_info_copy (GstDiscovererInfo * ptr) gst_discoverer_info_copy (GstDiscovererInfo * ptr)
{ {
@ -416,7 +422,7 @@ gst_discoverer_info_class_init (GObjectClass * klass)
/** /**
* gst_discoverer_stream_info_list_free: * gst_discoverer_stream_info_list_free:
* @infos: a #GList of #GstDiscovererStreamInfo * @infos: (element-type GstPbutils.DiscovererStreamInfo): a #GList of #GstDiscovererStreamInfo
* *
* Decrements the reference count of all contained #GstDiscovererStreamInfo * Decrements the reference count of all contained #GstDiscovererStreamInfo
* and fress the #GList. * and fress the #GList.
@ -439,7 +445,7 @@ gst_discoverer_stream_info_list_free (GList * infos)
* Finds the #GstDiscovererStreamInfo contained in @info that match the * Finds the #GstDiscovererStreamInfo contained in @info that match the
* given @streamtype. * given @streamtype.
* *
* Returns: (transfer full) (element-type Gst.DiscovererStreamInfo): A #GList of * Returns: (transfer full) (element-type GstPbutils.DiscovererStreamInfo): A #GList of
* matching #GstDiscovererStreamInfo. The caller should free it with * matching #GstDiscovererStreamInfo. The caller should free it with
* gst_discoverer_stream_info_list_free(). * gst_discoverer_stream_info_list_free().
* *
@ -466,7 +472,7 @@ gst_discoverer_info_get_streams (GstDiscovererInfo * info, GType streamtype)
* *
* Finds all the #GstDiscovererAudioInfo contained in @info * Finds all the #GstDiscovererAudioInfo contained in @info
* *
* Returns: (transfer full) (element-type Gst.DiscovererStreamInfo): A #GList of * Returns: (transfer full) (element-type GstPbutils.DiscovererStreamInfo): A #GList of
* matching #GstDiscovererStreamInfo. The caller should free it with * matching #GstDiscovererStreamInfo. The caller should free it with
* gst_discoverer_stream_info_list_free(). * gst_discoverer_stream_info_list_free().
* *
@ -484,7 +490,7 @@ gst_discoverer_info_get_audio_streams (GstDiscovererInfo * info)
* *
* Finds all the #GstDiscovererVideoInfo contained in @info * Finds all the #GstDiscovererVideoInfo contained in @info
* *
* Returns: (transfer full) (element-type Gst.DiscovererStreamInfo): A #GList of * Returns: (transfer full) (element-type GstPbutils.DiscovererStreamInfo): A #GList of
* matching #GstDiscovererStreamInfo. The caller should free it with * matching #GstDiscovererStreamInfo. The caller should free it with
* gst_discoverer_stream_info_list_free(). * gst_discoverer_stream_info_list_free().
* *
@ -502,7 +508,7 @@ gst_discoverer_info_get_video_streams (GstDiscovererInfo * info)
* *
* Finds all the #GstDiscovererSubtitleInfo contained in @info * Finds all the #GstDiscovererSubtitleInfo contained in @info
* *
* Returns: (transfer full) (element-type Gst.DiscovererStreamInfo): A #GList of * Returns: (transfer full) (element-type GstPbutils.DiscovererStreamInfo): A #GList of
* matching #GstDiscovererStreamInfo. The caller should free it with * matching #GstDiscovererStreamInfo. The caller should free it with
* gst_discoverer_stream_info_list_free(). * gst_discoverer_stream_info_list_free().
* *
@ -521,7 +527,7 @@ gst_discoverer_info_get_subtitle_streams (GstDiscovererInfo * info)
* *
* Finds all the #GstDiscovererContainerInfo contained in @info * Finds all the #GstDiscovererContainerInfo contained in @info
* *
* Returns: (transfer full) (element-type Gst.DiscovererStreamInfo): A #GList of * Returns: (transfer full) (element-type GstPbutils.DiscovererStreamInfo): A #GList of
* matching #GstDiscovererStreamInfo. The caller should free it with * matching #GstDiscovererStreamInfo. The caller should free it with
* gst_discoverer_stream_info_list_free(). * gst_discoverer_stream_info_list_free().
* *
@ -673,7 +679,7 @@ gst_discoverer_stream_info_get_misc (GstDiscovererStreamInfo * info)
* gst_discoverer_container_info_get_streams: * gst_discoverer_container_info_get_streams:
* @info: a #GstDiscovererStreamInfo * @info: a #GstDiscovererStreamInfo
* *
* Returns: (transfer full) (element-type Gst.DiscovererStreamInfo): the list of * Returns: (transfer full) (element-type GstPbutils.DiscovererStreamInfo): the list of
* #GstDiscovererStreamInfo this container stream offers. * #GstDiscovererStreamInfo this container stream offers.
* Free with gst_discoverer_stream_info_list_free() after usage. * Free with gst_discoverer_stream_info_list_free() after usage.
* *
@ -981,7 +987,7 @@ gst_discoverer_info_get_stream_info (GstDiscovererInfo * info)
* gst_discoverer_info_get_stream_list: * gst_discoverer_info_get_stream_list:
* @info: a #GstDiscovererInfo * @info: a #GstDiscovererInfo
* *
* Returns: (transfer full) (element-type Gst.DiscovererStreamInfo): the list of * Returns: (transfer full) (element-type GstPbutils.DiscovererStreamInfo): the list of
* all streams contained in the #info. Free after usage * all streams contained in the #info. Free after usage
* with gst_discoverer_stream_info_list_free(). * with gst_discoverer_stream_info_list_free().
* *