mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
test: check the height of a TimelineObject when adding effects to it
This commit is contained in:
parent
b566453e4a
commit
72873aed92
1 changed files with 4 additions and 1 deletions
|
@ -90,6 +90,7 @@ GST_START_TEST (test_get_effects_from_tl)
|
|||
GESTimelineTestSource *source;
|
||||
GList *effects, *tmp = NULL;
|
||||
gint effect_prio = -1;
|
||||
guint tl_object_height = 0;
|
||||
|
||||
ges_init ();
|
||||
|
||||
|
@ -132,8 +133,10 @@ GST_START_TEST (test_get_effects_from_tl)
|
|||
fail_unless (ges_track_add_object (track_video,
|
||||
GES_TRACK_OBJECT (track_effect2)));
|
||||
|
||||
effects = ges_timeline_object_get_effects (GES_TIMELINE_OBJECT (source));
|
||||
g_object_get (G_OBJECT (source), "height", &tl_object_height, NULL);
|
||||
fail_unless (tl_object_height == 4);
|
||||
|
||||
effects = ges_timeline_object_get_effects (GES_TIMELINE_OBJECT (source));
|
||||
for (tmp = effects; tmp; tmp = tmp->next) {
|
||||
gint priority =
|
||||
ges_timeline_object_get_top_effect_position (GES_TIMELINE_OBJECT
|
||||
|
|
Loading…
Reference in a new issue