mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
test/ges/basic: Adapt to API changes.
This commit is contained in:
parent
de31b79ee4
commit
57493596cc
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue