splitmux: Make the unit test faster
The playback test is considerably faster if it runs with the appsink set to sync=false
This commit is contained in:
parent
d06970c561
commit
8ef172d8b4
@ -231,6 +231,8 @@ test_playback (const gchar * in_pattern, GstClockTime exp_first_time,
|
|||||||
|
|
||||||
appsink = gst_element_factory_make ("appsink", NULL);
|
appsink = gst_element_factory_make ("appsink", NULL);
|
||||||
fail_if (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);
|
g_object_set (G_OBJECT (pipeline), "video-sink", appsink, NULL);
|
||||||
fakesink2 = gst_element_factory_make ("fakesink", NULL);
|
fakesink2 = gst_element_factory_make ("fakesink", NULL);
|
||||||
fail_if (fakesink2 == NULL);
|
fail_if (fakesink2 == NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user