mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
tests: Fix tests
In TimelineTitleSource We do not add a TrackAudioTestSource in the audio track anymore as it was a hack to work around the fact that we used not to have gap support, now we do, remove related tests
This commit is contained in:
parent
aaec341f79
commit
4302188011
2 changed files with 2 additions and 9 deletions
|
@ -200,6 +200,7 @@ GST_START_TEST (test_keyfile_save)
|
||||||
KEY ("Object3", "halignment", "center");
|
KEY ("Object3", "halignment", "center");
|
||||||
KEY ("Object3", "valignment", "baseline");
|
KEY ("Object3", "valignment", "baseline");
|
||||||
KEY ("Object3", "color", "4294967295");
|
KEY ("Object3", "color", "4294967295");
|
||||||
|
KEY ("Object3", "background", "4294967295");
|
||||||
KEY ("Object3", "xpos", "0.5");
|
KEY ("Object3", "xpos", "0.5");
|
||||||
KEY ("Object3", "ypos", "0.5");
|
KEY ("Object3", "ypos", "0.5");
|
||||||
COMPARE;
|
COMPARE;
|
||||||
|
|
|
@ -57,7 +57,7 @@ GST_START_TEST (test_title_source_properties)
|
||||||
|
|
||||||
ges_init ();
|
ges_init ();
|
||||||
|
|
||||||
track = ges_track_new (GES_TRACK_TYPE_AUDIO, GST_CAPS_ANY);
|
track = ges_track_video_raw_new ();
|
||||||
fail_unless (track != NULL);
|
fail_unless (track != NULL);
|
||||||
|
|
||||||
object = (GESTimelineObject *)
|
object = (GESTimelineObject *)
|
||||||
|
@ -99,14 +99,6 @@ GST_START_TEST (test_title_source_properties)
|
||||||
gnl_object_check (ges_track_object_get_gnlobject (trackobject), 420, 510, 120,
|
gnl_object_check (ges_track_object_get_gnlobject (trackobject), 420, 510, 120,
|
||||||
510, 0, TRUE);
|
510, 0, TRUE);
|
||||||
|
|
||||||
/* Test mute support */
|
|
||||||
g_object_set (object, "mute", TRUE, NULL);
|
|
||||||
gnl_object_check (ges_track_object_get_gnlobject (trackobject), 420, 510, 120,
|
|
||||||
510, 0, FALSE);
|
|
||||||
g_object_set (object, "mute", FALSE, NULL);
|
|
||||||
gnl_object_check (ges_track_object_get_gnlobject (trackobject), 420, 510, 120,
|
|
||||||
510, 0, TRUE);
|
|
||||||
|
|
||||||
ges_timeline_object_release_track_object (object, trackobject);
|
ges_timeline_object_release_track_object (object, trackobject);
|
||||||
g_object_unref (object);
|
g_object_unref (object);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue