[gst-devel] Re: bilboed gst-python: gst-python/ gst-python/gst/
Johan Dahlin
jdahlin at async.com.br
Tue Nov 22 07:56:05 CET 2005
> Index: gst.defs
> RCS file: /cvs/gstreamer/gst-python/gst/gst.defs,v
> retrieving revision 1.92
> retrieving revision 1.93
> diff -u -d -r1.92 -r1.93
> --- gst.defs 22 Nov 2005 12:02:41 -0000 1.92
> +++ gst.defs 22 Nov 2005 14:15:03 -0000 1.93
> +(define-method add_signal_watch_full
> + (of-object "GstBus")
> + (c-name "gst_bus_add_signal_watch_full")
> + (return-type "none")
> + (parameters
> + '("gint" "priority")
> + )
> +)
It's silly to have two separate methods in python.
Just make gst.Bus.add_signal_watch call signal_watch_full and make the
parameter optional.
That's what we do for plenty of related wrappers in gobject
(idle_add/timeout_add) etc.
Johan
More information about the gstreamer-devel
mailing list