summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJan Schmidt <jan@centricular.com>2020-03-24 00:18:54 +1100
committerSebastian Dröge <slomo@coaxion.net>2020-03-26 11:23:24 +0000
commit8ef172d8b4466a4bf1b8040cd184dc52b42565b4 (patch)
treed022b7b0f864a4a786d9da7211cd475f5218f9c1 /tests
parentd06970c561213f2dd9e45751506566358ce58f73 (diff)
downloadgstreamer-plugins-good-8ef172d8b4466a4bf1b8040cd184dc52b42565b4.tar.gz
splitmux: Make the unit test faster
The playback test is considerably faster if it runs with the appsink set to sync=false
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/splitmux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check/elements/splitmux.c b/tests/check/elements/splitmux.c
index 25740e7da..04c352c99 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);