mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
update documentation and unit tests
This commit is contained in:
parent
03cf6c99b6
commit
92bedbc72e
2 changed files with 7 additions and 0 deletions
|
@ -74,6 +74,7 @@ ges_track_object_set_track
|
||||||
ges_track_object_set_duration_internal
|
ges_track_object_set_duration_internal
|
||||||
ges_track_object_set_inpoint_internal
|
ges_track_object_set_inpoint_internal
|
||||||
ges_track_object_set_priority_internal
|
ges_track_object_set_priority_internal
|
||||||
|
ges_track_object_set_priority_offset_internal
|
||||||
ges_track_object_set_start_internal
|
ges_track_object_set_start_internal
|
||||||
ges_track_object_get_type
|
ges_track_object_get_type
|
||||||
GES_IS_TRACK_OBJECT
|
GES_IS_TRACK_OBJECT
|
||||||
|
|
|
@ -118,6 +118,12 @@ GST_START_TEST (test_layer_properties)
|
||||||
assert_equals_uint64 (GES_TIMELINE_OBJECT_PRIORITY (object), 0);
|
assert_equals_uint64 (GES_TIMELINE_OBJECT_PRIORITY (object), 0);
|
||||||
gnl_object_check (trackobject->gnlobject, 42, 51, 12, 51, 0, TRUE);
|
gnl_object_check (trackobject->gnlobject, 42, 51, 12, 51, 0, TRUE);
|
||||||
|
|
||||||
|
/* check priority offsets */
|
||||||
|
ges_track_object_set_priority_offset_internal (trackobject, 1);
|
||||||
|
gnl_object_check (trackobject->gnlobject, 42, 51, 12, 51, 1, TRUE);
|
||||||
|
g_object_set (object, "priority", 5, NULL);
|
||||||
|
gnl_object_check (trackobject->gnlobject, 42, 51, 12, 51, 6, TRUE);
|
||||||
|
|
||||||
g_object_unref (trackobject);
|
g_object_unref (trackobject);
|
||||||
fail_unless (ges_timeline_layer_remove_object (layer, object));
|
fail_unless (ges_timeline_layer_remove_object (layer, object));
|
||||||
fail_unless (ges_timeline_remove_track (timeline, track));
|
fail_unless (ges_timeline_remove_track (timeline, track));
|
||||||
|
|
Loading…
Reference in a new issue