test/ges/basic: Adapt to API changes.

This commit is contained in:
Edward Hervey 2009-09-08 19:46:26 +02:00
parent de31b79ee4
commit 57493596cc

View file

@ -70,12 +70,12 @@ GST_START_TEST (test_ges_scenario)
/* Give the Timeline a Track */ /* Give the Timeline a Track */
track = ges_track_new (GST_CAPS_ANY); track = ges_track_new (GES_TRACK_TYPE_CUSTOM, GST_CAPS_ANY);
fail_unless (track != NULL); fail_unless (track != NULL);
fail_unless (ges_timeline_add_track (timeline, track)); fail_unless (ges_timeline_add_track (timeline, track));
fail_unless (track->timeline == timeline); fail_unless (track->timeline == timeline);
fail_unless (g_list_find (timeline->tracks, track) != NULL); /* fail_unless (g_list_find (timeline->tracks, track) != NULL); */
fail_unless ((gpointer) gst_element_get_parent (track) == fail_unless ((gpointer) gst_element_get_parent (track) ==
(gpointer) timeline); (gpointer) timeline);