[gst-devel] Re: thomasvs gst-python: gst-python/gst/

Johan Dahlin johan at gnome.org
Wed Jan 12 06:01:17 CET 2005


> +(define-method add_probe
> +  (of-object "GstPad")
> +  (c-name "gst_pad_add_probe")
> +  (parameters
> +    '("GstProbe" "probe")
> +  )
> +)
> +
> +(define-method remove_probe
> +  (c-name "gst_pad_remove_probe")
>  (define-function pad_load_and_link
>    (c-name "gst_pad_load_and_link")
>    (return-type "none")

That seems broken.
Use the h2defs.py script found in codegen in the pygtk tarball to scan 
header files, eg:

python h2defs.py gstprobe.h >> gst.defs

And then maybe rearrange the definitionas so they are in alphabetical 
order/grouped together. (instead of just appending)

Johan Dahlin




More information about the gstreamer-devel mailing list