diff --git a/tests/check/ges/test-utils.c b/tests/check/ges/test-utils.c index 01953e2323..de38ae37dd 100644 --- a/tests/check/ges/test-utils.c +++ b/tests/check/ges/test-utils.c @@ -67,9 +67,10 @@ ges_test_create_pipeline (GESTimeline * timeline) pipeline = ges_pipeline_new (); fail_unless (ges_pipeline_set_timeline (pipeline, timeline)); - g_object_set (pipeline, "audio-sink", gst_element_factory_make ("fakesink", - "test-audiofakesink"), "video-sink", - gst_element_factory_make ("fakesink", "test-videofakesink"), NULL); + g_object_set (pipeline, "audio-sink", + gst_element_factory_make ("fakeaudiosink", "test-audiofakesink"), + "video-sink", gst_element_factory_make ("fakevideosink", + "test-videofakesink"), NULL); return pipeline; } diff --git a/tests/check/meson.build b/tests/check/meson.build index 9a6ada724d..1a00e39eef 100644 --- a/tests/check/meson.build +++ b/tests/check/meson.build @@ -112,7 +112,7 @@ if gstvalidate_dep.found() endif endforeach - test('simple_playback_test', ges_launch, env: env, args: ['+test-clip', 'blue', 'd=0.1', '--disable-validate', '--videosink=fakevideosink', '--audiosink=fakesink']) + test('simple_playback_test', ges_launch, env: env, args: ['+test-clip', 'blue', 'd=0.1', '--disable-validate', '--videosink=fakevideosink', '--audiosink=fakeaudiosink']) endif if build_gir diff --git a/tests/check/nle/complex.c b/tests/check/nle/complex.c index f109f5104e..b7358fbc64 100644 --- a/tests/check/nle/complex.c +++ b/tests/check/nle/complex.c @@ -13,7 +13,7 @@ fill_pipeline_and_check (GstElement * comp, GList * segments, GList *listcopy = copy_segment_list (segments); pipeline = gst_pipeline_new ("test_pipeline"); - sink = gst_element_factory_make_or_warn ("fakesink", "sink"); + sink = gst_element_factory_make_or_warn ("fakevideosink", "sink"); fail_if (sink == NULL); gst_bin_add_many (GST_BIN (pipeline), comp, sink, NULL); @@ -562,7 +562,7 @@ GST_START_TEST (test_renegotiation) ASSERT_OBJECT_REFCOUNT (source3, "source3", 1); - sink = gst_element_factory_make_or_warn ("fakesink", "sink"); + sink = gst_element_factory_make_or_warn ("fakeaudiosink", "sink"); audioconvert = gst_element_factory_make_or_warn ("audioconvert", "aconv"); gst_bin_add_many (GST_BIN (pipeline), comp, audioconvert, sink, NULL); diff --git a/tests/check/nle/nlecomposition.c b/tests/check/nle/nlecomposition.c index aa840b8da0..3607ddb3dc 100644 --- a/tests/check/nle/nlecomposition.c +++ b/tests/check/nle/nlecomposition.c @@ -53,7 +53,7 @@ GST_START_TEST (test_change_object_start_stop_in_current_stack) gst_element_set_state (comp, GST_STATE_READY); - sink = gst_element_factory_make_or_warn ("fakesink", "sink"); + sink = gst_element_factory_make_or_warn ("fakevideosink", "sink"); gst_bin_add_many (GST_BIN (pipeline), comp, sink, NULL); gst_element_link (comp, sink); @@ -217,7 +217,7 @@ GST_START_TEST (test_remove_last_object) gst_element_set_state (GST_ELEMENT (composition), GST_STATE_READY); - fakesink = gst_element_factory_make ("fakesink", NULL); + fakesink = gst_element_factory_make ("fakeaudiosink", NULL); gst_bin_add_many (GST_BIN (pipeline), GST_ELEMENT (composition), fakesink, NULL); gst_element_link (GST_ELEMENT (composition), fakesink); @@ -308,7 +308,7 @@ GST_START_TEST (test_dispose_on_commit) composition = gst_element_factory_make ("nlecomposition", "composition"); pipeline = GST_ELEMENT (gst_pipeline_new (NULL)); - fakesink = gst_element_factory_make ("fakesink", NULL); + fakesink = gst_element_factory_make ("fakevideosink", NULL); nlesource = gst_element_factory_make ("nlesource", "nlesource1"); audiotestsrc = gst_element_factory_make ("audiotestsrc", "audiotestsrc1"); @@ -352,7 +352,7 @@ GST_START_TEST (test_simple_audiomixer) composition = gst_element_factory_make ("nlecomposition", "composition"); gst_element_set_state (composition, GST_STATE_READY); - fakesink = gst_element_factory_make ("fakesink", NULL); + fakesink = gst_element_factory_make ("fakeaudiosink", NULL); /* nle_audiomixer */ nle_audiomixer = gst_element_factory_make ("nleoperation", "nle_audiomixer"); @@ -482,7 +482,7 @@ GST_START_TEST (test_seek_on_nested) comp = gst_element_factory_make_or_warn ("nlecomposition", NULL); gst_element_set_state (comp, GST_STATE_READY); - sink = gst_element_factory_make_or_warn ("fakesink", "sink"); + sink = gst_element_factory_make_or_warn ("fakevideosink", "sink"); gst_bin_add_many (GST_BIN (pipeline), comp, sink, NULL); gst_element_link (comp, sink); @@ -577,7 +577,7 @@ GST_START_TEST (test_error_in_nested_timeline) comp = gst_element_factory_make_or_warn ("nlecomposition", NULL); gst_element_set_state (comp, GST_STATE_READY); - sink = gst_element_factory_make_or_warn ("fakesink", "sink"); + sink = gst_element_factory_make_or_warn ("fakevideosink", "sink"); gst_bin_add_many (GST_BIN (pipeline), comp, sink, NULL); gst_element_link (comp, sink); @@ -663,7 +663,7 @@ GST_START_TEST (test_nest_deep) comp = gst_element_factory_make_or_warn ("nlecomposition", NULL); gst_element_set_state (comp, GST_STATE_READY); - sink = gst_element_factory_make_or_warn ("fakesink", "sink"); + sink = gst_element_factory_make_or_warn ("fakevideosink", "sink"); gst_bin_add_many (GST_BIN (pipeline), comp, sink, NULL); gst_element_link (comp, sink); diff --git a/tests/check/nle/nleoperation.c b/tests/check/nle/nleoperation.c index 8a425e6224..2e8be8b0f8 100644 --- a/tests/check/nle/nleoperation.c +++ b/tests/check/nle/nleoperation.c @@ -12,7 +12,7 @@ fill_pipeline_and_check (GstElement * comp, GList * segments) GList *listcopy = copy_segment_list (segments); pipeline = gst_pipeline_new ("test_pipeline"); - sink = gst_element_factory_make_or_warn ("fakesink", "sink"); + sink = gst_element_factory_make_or_warn ("fakevideosink", "sink"); fail_if (sink == NULL); gst_bin_add_many (GST_BIN (pipeline), comp, sink, NULL); diff --git a/tests/check/nle/nlesource.c b/tests/check/nle/nlesource.c index 102fed8be2..72aee071ce 100644 --- a/tests/check/nle/nlesource.c +++ b/tests/check/nle/nlesource.c @@ -24,7 +24,7 @@ GST_START_TEST (test_simple_videotestsrc) check_start_stop_duration (nlesource, 1 * GST_SECOND, 2 * GST_SECOND, 1 * GST_SECOND); - sink = gst_element_factory_make_or_warn ("fakesink", "sink"); + sink = gst_element_factory_make_or_warn ("fakevideosink", "sink"); fail_if (sink == NULL); gst_bin_add_many (GST_BIN (pipeline), nlesource, sink, NULL); @@ -124,7 +124,7 @@ GST_START_TEST (test_videotestsrc_in_bin) if (nlesource == NULL) return; - sink = gst_element_factory_make_or_warn ("fakesink", "sink"); + sink = gst_element_factory_make_or_warn ("fakevideosink", "sink"); fail_if (sink == NULL); gst_bin_add_many (GST_BIN (pipeline), nlesource, sink, NULL); diff --git a/tests/check/nle/seek.c b/tests/check/nle/seek.c index 53d3e179b3..8bd530c145 100644 --- a/tests/check/nle/seek.c +++ b/tests/check/nle/seek.c @@ -35,7 +35,7 @@ fill_pipeline_and_check (GstElement * comp, GList * segments, GList * seeks) GList *ltofree = seeks; pipeline = gst_pipeline_new ("test_pipeline"); - sink = gst_element_factory_make_or_warn ("fakesink", "sink"); + sink = gst_element_factory_make_or_warn ("fakevideosink", "sink"); fail_if (sink == NULL); gst_bin_add_many (GST_BIN (pipeline), comp, sink, NULL); diff --git a/tests/check/nle/simple.c b/tests/check/nle/simple.c index 040d929e8d..e6cbfe786d 100644 --- a/tests/check/nle/simple.c +++ b/tests/check/nle/simple.c @@ -39,7 +39,7 @@ test_simplest_full (void) check_start_stop_duration (comp, 0, 1 * GST_SECOND, 1 * GST_SECOND); ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); - sink = gst_element_factory_make_or_warn ("fakesink", "sink"); + sink = gst_element_factory_make_or_warn ("fakevideosink", "sink"); fail_if (sink == NULL); gst_bin_add_many (GST_BIN (pipeline), comp, sink, NULL); @@ -256,7 +256,7 @@ test_one_after_other_full (void) ASSERT_OBJECT_REFCOUNT (source2, "source2", 1); - sink = gst_element_factory_make_or_warn ("fakesink", "sink"); + sink = gst_element_factory_make_or_warn ("fakevideosink", "sink"); fail_if (sink == NULL); gst_bin_add_many (GST_BIN (pipeline), comp, sink, NULL); @@ -459,7 +459,7 @@ test_one_under_another_full (void) check_start_stop_duration (comp, 0, 3 * GST_SECOND, 3 * GST_SECOND); gst_object_unref (source1); - sink = gst_element_factory_make_or_warn ("fakesink", "sink"); + sink = gst_element_factory_make_or_warn ("fakevideosink", "sink"); fail_if (sink == NULL); gst_bin_add_many (GST_BIN (pipeline), comp, sink, NULL); @@ -613,7 +613,7 @@ test_one_bin_after_other_full (void) ASSERT_OBJECT_REFCOUNT (source1, "source1", 1); - sink = gst_element_factory_make_or_warn ("fakesink", "sink"); + sink = gst_element_factory_make_or_warn ("fakevideosink", "sink"); fail_if (sink == NULL); gst_bin_add_many (GST_BIN (pipeline), comp, sink, NULL); diff --git a/tests/check/nle/tempochange.c b/tests/check/nle/tempochange.c index 7938cb98fe..e3d8208cc4 100644 --- a/tests/check/nle/tempochange.c +++ b/tests/check/nle/tempochange.c @@ -283,7 +283,7 @@ _setup_test (GstElement * pipeline, gdouble rate) gst_element_set_state (comp, GST_STATE_READY); /* sink */ - sink = gst_element_factory_make_or_warn ("fakesink", "sink"); + sink = gst_element_factory_make_or_warn ("fakeaudiosink", "sink"); gst_bin_add_many (GST_BIN (pipeline), comp, sink, NULL); gst_element_link (comp, sink); diff --git a/tests/check/scenarios/check_edit_in_frames_with_framerate_mismatch.scenario b/tests/check/scenarios/check_edit_in_frames_with_framerate_mismatch.scenario index a5bc6cc955..e5e37ed6e9 100644 --- a/tests/check/scenarios/check_edit_in_frames_with_framerate_mismatch.scenario +++ b/tests/check/scenarios/check_edit_in_frames_with_framerate_mismatch.scenario @@ -2,7 +2,7 @@ description, handles-states=true, ges-options={\ --track-types, video, --disable-mixing, - "--videosink=fakesink"\ + "--videosink=fakevideosink"\ } add-clip, name=clip, asset-id="time-overlay,framerate=120/1", layer-priority=0, type=GESSourceClip, pattern=blue, duration=f240, inpoint=f100 diff --git a/tests/check/scenarios/check_layer_activness_gaps.scenario b/tests/check/scenarios/check_layer_activness_gaps.scenario index 05019de870..382f51677a 100644 --- a/tests/check/scenarios/check_layer_activness_gaps.scenario +++ b/tests/check/scenarios/check_layer_activness_gaps.scenario @@ -2,7 +2,7 @@ description, handles-states=true, ges-options={\ "--disable-mixing", "--videosink=fakevideosink", - "--audiosink=fakesink"\ + "--audiosink=fakeaudiosink"\ } add-clip, name=clip, asset-id="framerate=30/1", layer-priority=0, type=GESTestClip, pattern=blue, duration=5000.0