From 8ef172d8b4466a4bf1b8040cd184dc52b42565b4 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Tue, 24 Mar 2020 00:18:54 +1100 Subject: [PATCH] splitmux: Make the unit test faster The playback test is considerably faster if it runs with the appsink set to sync=false --- tests/check/elements/splitmux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/check/elements/splitmux.c b/tests/check/elements/splitmux.c index 25740e7..04c352c 100644 --- a/tests/check/elements/splitmux.c +++ b/tests/check/elements/splitmux.c @@ -231,6 +231,8 @@ test_playback (const gchar * in_pattern, GstClockTime exp_first_time, appsink = gst_element_factory_make ("appsink", NULL); fail_if (appsink == NULL); + g_object_set (G_OBJECT (appsink), "sync", FALSE, NULL); + g_object_set (G_OBJECT (pipeline), "video-sink", appsink, NULL); fakesink2 = gst_element_factory_make ("fakesink", NULL); fail_if (fakesink2 == NULL); -- 2.7.4