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:
Jan Schmidt 2020-03-24 00:18:54 +11:00 committed by Sebastian Dröge
parent d06970c561
commit 8ef172d8b4

View file

@ -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);