pyges: Update ges.defs and ges-types.defs with the new effect API

This commit is contained in:
Thibault Saunier 2011-06-07 18:38:37 -04:00
parent f8de22b29c
commit 01e4391d4a
2 changed files with 140 additions and 0 deletions

View file

@ -49,6 +49,13 @@
(gtype-id "GES_TYPE_TIMELINE_OPERATION")
)
(define-object TimelineEffect
(in-module "GES")
(parent "GESTimelineOperation")
(c-name "GESTimelineEffect")
(gtype-id "GES_TYPE_TIMELINE_EFFECT")
)
(define-object TimelineOverlay
(in-module "GES")
(parent "GESTimelineOperation")
@ -56,6 +63,13 @@
(gtype-id "GES_TYPE_TIMELINE_OVERLAY")
)
(define-object TimelineParseLaunchEffect
(in-module "GES")
(parent "GESTimelineEffect")
(c-name "GESTimelineParseLaunchEffect")
(gtype-id "GES_TYPE_TIMELINE_PARSE_LAUNCH_EFFECT")
)
(define-object TimelinePipeline
(in-module "GES")
(parent "GstPipeline")
@ -140,6 +154,20 @@
(gtype-id "GES_TYPE_TRACK_OPERATION")
)
(define-object TrackEffect
(in-module "GES")
(parent "GESTrackOperation")
(c-name "GESTrackEffect")
(gtype-id "GES_TYPE_TRACK_EFFECT")
)
(define-object TrackParseLaunchEffect
(in-module "GES")
(parent "GESTrackEffect")
(c-name "GESTrackParseLaunchEffect")
(gtype-id "GES_TYPE_TRACK_PARSE_LAUNCH_EFFECT")
)
(define-object TrackSource
(in-module "GES")
(parent "GESTrackObject")

View file

@ -49,6 +49,13 @@
(gtype-id "GES_TYPE_TIMELINE_OPERATION")
)
(define-object TimelineEffect
(in-module "GES")
(parent "GESTimelineOperation")
(c-name "GESTimelineEffect")
(gtype-id "GES_TYPE_TIMELINE_EFFECT")
)
(define-object TimelineOverlay
(in-module "GES")
(parent "GESTimelineOperation")
@ -56,6 +63,13 @@
(gtype-id "GES_TYPE_TIMELINE_OVERLAY")
)
(define-object TimelineParseLaunchEffect
(in-module "GES")
(parent "GESTimelineEffect")
(c-name "GESTimelineParseLaunchEffect")
(gtype-id "GES_TYPE_TIMELINE_PARSE_LAUNCH_EFFECT")
)
(define-object TimelinePipeline
(in-module "GES")
(parent "GstPipeline")
@ -140,6 +154,20 @@
(gtype-id "GES_TYPE_TRACK_OPERATION")
)
(define-object TrackEffect
(in-module "GES")
(parent "GESTrackOperation")
(c-name "GESTrackEffect")
(gtype-id "GES_TYPE_TRACK_EFFECT")
)
(define-object TrackParseLaunchEffect
(in-module "GES")
(parent "GESTrackEffect")
(c-name "GESTrackParseLaunchEffect")
(gtype-id "GES_TYPE_TRACK_PARSE_LAUNCH_EFFECT")
)
(define-object TrackSource
(in-module "GES")
(parent "GESTrackObject")
@ -621,6 +649,16 @@
)
;; From ges-timeline-effect.h
(define-function timeline_effect_get_type
(c-name "ges_timeline_effect_get_type")
(return-type "GType")
)
;; From ges-timeline-file-source.h
(define-function timeline_filesource_get_type
@ -986,6 +1024,32 @@
(return-type "GESTimelineLayer*")
)
(define-method get_top_effects
(of-object "GESTimelineObject")
(c-name "ges_timeline_object_get_top_effects")
(return-type "GList*")
)
(define-method get_top_effect_position
(of-object "GESTimelineObject")
(c-name "ges_timeline_object_get_top_effect_position")
(return-type "gint")
(parameters
'("GESTrackEffect*" "effect")
)
)
(define-method set_top_effect_priority
(of-object "GESTimelineObject")
(c-name "ges_timeline_object_set_top_effect_priority")
(return-type "gboolean")
(parameters
'("GESTrackEffect*" "effect")
'("guint" "newpriority")
)
)
;; From ges-timeline-operation.h
@ -1005,6 +1069,25 @@
;; From ges-timeline-parse-launch-effect.h
(define-function timeline_parse_launch_effect_get_type
(c-name "ges_timeline_parse_launch_effect_get_type")
(return-type "GType")
)
(define-function timeline_parse_launch_effect_new
(c-name "ges_timeline_parse_launch_effect_new")
(is-constructor-of "GESTimelineParseLaunchEffect")
(return-type "GESTimelineParseLaunchEffect*")
(parameters
'("const-gchar*" "video_bin_description")
'("const-gchar*" "audio_bin_description")
)
)
;; From ges-timeline-pipeline.h
(define-function timeline_pipeline_get_type
@ -1430,6 +1513,16 @@
)
;; From ges-track-effect.h
(define-function track_effect_get_type
(c-name "ges_track_effect_get_type")
(return-type "GType")
)
;; From ges-track-filesource.h
(define-function track_filesource_get_type
@ -1774,6 +1867,25 @@
)
;; From ges-track-parse-launch-effect.h
(define-function track_parse_launch_effect_get_type
(c-name "ges_track_parse_launch_effect_get_type")
(return-type "GType")
)
(define-function track_parse_launch_effect_new
(c-name "ges_track_parse_launch_effect_new")
(is-constructor-of "GESTrackParseLaunchEffect")
(return-type "GESTrackParseLaunchEffect*")
(parameters
'("const-gchar*" "bin_description")
)
)
;; From ges-track-source.h
(define-function track_source_get_type