projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d06970c
)
splitmux: Make the unit test faster
author
Jan Schmidt
<jan@centricular.com>
Mon, 23 Mar 2020 13:18:54 +0000
(
00:18
+1100)
committer
Sebastian Dröge
<slomo@coaxion.net>
Thu, 26 Mar 2020 11:23:24 +0000
(11:23 +0000)
The playback test is considerably faster if it runs with the
appsink set to sync=false
tests/check/elements/splitmux.c
patch
|
blob
|
history
diff --git
a/tests/check/elements/splitmux.c
b/tests/check/elements/splitmux.c
index
25740e7
..
04c352c
100644
(file)
--- 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);