tests: asset: Remove pointless gst_init()

It's done by GST_CHECK_MAIN() already
This commit is contained in:
Seungha Yang 2019-01-28 12:17:00 +09:00
parent 78b38f26a7
commit 27212f2d10

View file

@ -42,7 +42,6 @@ source_asset_created (GObject * source, GAsyncResult * res, gpointer udata)
GST_START_TEST (test_basic) GST_START_TEST (test_basic)
{ {
gst_init (NULL, NULL);
ges_init (); ges_init ();
mainloop = g_main_loop_new (NULL, FALSE); mainloop = g_main_loop_new (NULL, FALSE);
@ -62,7 +61,6 @@ GST_START_TEST (test_transition_change_asset)
GESAsset *a; GESAsset *a;
GESExtractable *extractable; GESExtractable *extractable;
gst_init (NULL, NULL);
ges_init (); ges_init ();
a = ges_asset_request (GES_TYPE_TRANSITION_CLIP, "box-wipe-lc", NULL); a = ges_asset_request (GES_TYPE_TRANSITION_CLIP, "box-wipe-lc", NULL);
@ -111,7 +109,6 @@ GST_START_TEST (test_uri_clip_change_asset)
gchar *uri1; gchar *uri1;
GESTimeline *timeline; GESTimeline *timeline;
gst_init (NULL, NULL);
ges_init (); ges_init ();
layer = ges_layer_new (); layer = ges_layer_new ();