summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorMathieu Duponchelle <seeed@laposte.net>2011-05-14 04:32:45 +0200
committerThibault Saunier <thibault.saunier@collabora.com>2011-08-11 14:40:08 +0200
commit18be79ac5799ee2120d41da0214b7f599f9bb8f1 (patch)
treed3f227433e0336a11f98beb21f045c41e60a74ae /bindings
parent01e4391d4a632c1fa5e52405bc801e1f07df9a8d (diff)
pyges : Override ges_timeline_parse_launch_effect_new to make it accept None
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/ges.override20
1 files changed, 20 insertions, 0 deletions
diff --git a/bindings/python/ges.override b/bindings/python/ges.override
index 624689e0..ce26c9c9 100644
--- a/bindings/python/ges.override
+++ b/bindings/python/ges.override
@@ -70,6 +70,26 @@ _wrap_ges_timeline_get_tracks(PyGObject *self)
}
%%
+override ges_timeline_parse_launch_effect_new kwargs
+static int
+_wrap_ges_timeline_parse_launch_effect_new(PyGObject *self, PyObject *args, PyObject *kwargs)
+{
+ static char *kwlist[] = { "video_bin_description", "audio_bin_description", NULL };
+ char *video_bin_description, *audio_bin_description = NULL;
+
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs,"zz:GES.TimelineParseLaunchEffect.__init__", kwlist, &video_bin_description, &audio_bin_description))
+ return -1;
+ self->obj = (GObject *)ges_timeline_parse_launch_effect_new(video_bin_description, audio_bin_description);
+
+ if (!self->obj) {
+ PyErr_SetString(PyExc_RuntimeError, "could not create GESTimelineParseLaunchEffect object");
+ return -1;
+ }
+ pygobject_register_wrapper((PyObject *)self);
+ return 0;
+}
+
+%%
override ges_timeline_get_layers noargs
static PyObject *
_wrap_ges_timeline_get_layers(PyGObject *self)