GNOME Bugzilla – Bug 603428
Make docextract_to_xml.py successful with the gst-plugins-base source file mixer.c
Last modified: 2010-06-02 15:08:04 UTC
Created attachment 148799 [details] The source file to be processed correctly Hi. Is the codegen stuff in pygobject still being worked on? I was wondering if it is possible for a modification to be made so that it successfully processes the gst-plugins-base source file gst-libs/gst/interfaces/mixer.c, particularly the gst_mixer_list_track() function. In the source it has this doc comment: /** * gst_mixer_list_tracks: * @mixer: the #GstMixer (a #GstElement) to get the tracks from. * * Returns a list of available tracks for this mixer/element. Note * that it is allowed for sink (output) elements to only provide * the output tracks in this list. Likewise, for sources (inputs), * it is allowed to only provide input elements in this list. * * Returns: A #GList consisting of zero or more #GstMixerTracks. * The list is owned by the #GstMixer instance and must not be freed * or modified. */ However, the docextract_to_xml.py output for this function is: <function name="gst_mixer_list_tracks"> <description> Returns: A #GList consisting of zero or more #GstMixerTracks. </description> <parameters> <parameter name="mixer"> <parameter_description> the #GstMixer (a #GstElement) to get the tracks from. </parameter_description> </parameter> </parameters> <return> A #GList consisting of zero or more #GstMixerTracks. The list is owned by the #GstMixer instance and must not be freed or modified. </return> </function> The problem is that the description is not entirely accurate. I'm not sure if it's a comment problem or a processing problem. I'll attach the source file to make things easier for testing. Thanks so much.
I believe this has been fixed by the enhancement bug #615136. Closing.