From a9b47a1a717729aca7d8b973c1cb96674c17b14d Mon Sep 17 00:00:00 2001 From: Brandon Lewis Date: Wed, 26 May 2010 13:27:46 +0200 Subject: [PATCH] tests/examples/transition.c: pass transition type to make_timeline --- tests/examples/transition.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/examples/transition.c b/tests/examples/transition.c index 2a9e501dfd..fb78e6692f 100644 --- a/tests/examples/transition.c +++ b/tests/examples/transition.c @@ -99,7 +99,8 @@ get_transition_type (char *nick, GEnumClass * smpte_enum_class) GESTimelinePipeline * -make_timeline (double tdur, char *patha, float adur, char *pathb, float bdur) +make_timeline (GEnumValue * ttype, double tdur, char *patha, float adur, + char *pathb, float bdur) { GESTimeline *timeline; GESTrack *trackv; @@ -203,7 +204,7 @@ main (int argc, char **argv) gdouble adur = (gdouble) atof (argv[2]); gdouble bdur = (gdouble) atof (argv[4]); - pipeline = make_timeline (tdur, argv[1], adur, argv[3], bdur); + pipeline = make_timeline (ttype, tdur, argv[1], adur, argv[3], bdur); mainloop = g_main_loop_new (NULL, FALSE); g_timeout_add_seconds ((adur + bdur) + 1, (GSourceFunc) g_main_loop_quit,