gst-editing-services: python : bind the new timeline_object functions

Thibault Saunier tsaunier at kemper.freedesktop.org
Wed Jan 11 07:04:31 PST 2012


Module: gst-editing-services
Branch: master
Commit: aec787946714f503efbf1c62037438263d33fdc6
URL:    http://cgit.freedesktop.org/gstreamer/gst-editing-services/commit/?id=aec787946714f503efbf1c62037438263d33fdc6

Author: Mathieu Duponchelle <seeed at laposte.net>
Date:   Tue Aug  9 15:56:56 2011 +0200

python : bind the new timeline_object functions

    + move_to_layer
    + is_moving_from_layer
    + set_moving_from_layer

---

 bindings/python/ges.defs |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/bindings/python/ges.defs b/bindings/python/ges.defs
index a646522..a339999 100644
--- a/bindings/python/ges.defs
+++ b/bindings/python/ges.defs
@@ -1072,6 +1072,31 @@
   )
 )
 
+(define-method move_to_layer
+  (of-object "GESTimelineObject")
+  (c-name "ges_timeline_object_move_to_layer")
+  (return-type "gboolean")
+  (parameters
+    '("GESTimelineLayer*" "layer")
+  )
+)
+
+(define-method is_moving_from_layer
+  (of-object "GESTimelineObject")
+  (c-name "ges_timeline_object_is_moving_from_layer")
+  (return-type "gboolean")
+)
+
+(define-method set_moving_from_layer
+  (of-object "GESTimelineObject")
+  (c-name "ges_timeline_object_set_moving_from_layer")
+  (return-type "none")
+  (parameters
+    '("gboolean" "is_moving")
+  )
+)
+
+
 
 
 ;; From ges-timeline-operation.h



More information about the gstreamer-commits mailing list