mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
tests/check/ges/{simplelayer.c,tests/check/ges/transition.c}: sync with
previous api change
This commit is contained in:
parent
7beb6a5e5e
commit
45016397b9
2 changed files with 7 additions and 7 deletions
|
@ -216,23 +216,23 @@ GST_START_TEST (test_gsl_with_transitions)
|
|||
#define HALF_SECOND ((guint64) (0.5 * GST_SECOND))
|
||||
#define SECOND(a) ((guint64) (a * GST_SECOND))
|
||||
|
||||
tr1 = ges_timeline_transition_new (NULL);
|
||||
tr1 = ges_timeline_transition_new (0);
|
||||
g_object_set (tr1, "duration", HALF_SECOND, "start", (guint64) 42, NULL);
|
||||
fail_unless_equals_uint64 (GES_TIMELINE_OBJECT_DURATION (tr1), HALF_SECOND);
|
||||
|
||||
tr2 = ges_timeline_transition_new (NULL);
|
||||
tr2 = ges_timeline_transition_new (0);
|
||||
g_object_set (tr2, "duration", HALF_SECOND, "start", (guint64) 42, NULL);
|
||||
fail_unless_equals_uint64 (GES_TIMELINE_OBJECT_DURATION (tr2), HALF_SECOND);
|
||||
|
||||
tr3 = ges_timeline_transition_new (NULL);
|
||||
tr3 = ges_timeline_transition_new (0);
|
||||
g_object_set (tr3, "duration", HALF_SECOND, "start", (guint64) 42, NULL);
|
||||
fail_unless_equals_uint64 (GES_TIMELINE_OBJECT_DURATION (tr3), HALF_SECOND);
|
||||
|
||||
tr4 = ges_timeline_transition_new (NULL);
|
||||
tr4 = ges_timeline_transition_new (0);
|
||||
g_object_set (tr4, "duration", HALF_SECOND, "start", (guint64) 42, NULL);
|
||||
fail_unless_equals_uint64 (GES_TIMELINE_OBJECT_DURATION (tr4), HALF_SECOND);
|
||||
|
||||
tr5 = ges_timeline_transition_new (NULL);
|
||||
tr5 = ges_timeline_transition_new (0);
|
||||
g_object_set (tr5, "duration", HALF_SECOND, "start", (guint64) 42, NULL);
|
||||
fail_unless_equals_uint64 (GES_TIMELINE_OBJECT_DURATION (tr5), HALF_SECOND);
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ GST_START_TEST (test_transition_basic)
|
|||
track = ges_track_video_raw_new ();
|
||||
fail_unless (track != 0);
|
||||
|
||||
tr1 = ges_timeline_transition_new (NULL);
|
||||
tr1 = ges_timeline_transition_new (0);
|
||||
fail_unless (tr1 != 0);
|
||||
fail_unless (tr1->vtype == 0);
|
||||
|
||||
|
@ -84,7 +84,7 @@ GST_START_TEST (test_transition_properties)
|
|||
|
||||
ges_init ();
|
||||
|
||||
object = GES_TIMELINE_OBJECT (ges_timeline_transition_new (NULL));
|
||||
object = GES_TIMELINE_OBJECT (ges_timeline_transition_new (0));
|
||||
|
||||
track = ges_track_new (GES_TRACK_TYPE_VIDEO, GST_CAPS_ANY);
|
||||
fail_unless (track != NULL);
|
||||
|
|
Loading…
Reference in a new issue