diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2015-07-02 19:19:33 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2015-07-30 14:00:05 -0400 |
commit | 1cb49c429bf776ae0fee75cdba310422de201e7c (patch) | |
tree | d66dc4697f73db2e2b7c17484b22dc37f9bb0c3d /tests | |
parent | ce6206388cbbc47450d6c052b204d6d46142d890 (diff) | |
download | gstreamer-plugins-bad-1cb49c429bf776ae0fee75cdba310422de201e7c.tar.gz |
tests: Make source live to re-enable aggregator timeout tests
The live mode is only enabled if one of the sources if live.
https://bugzilla.gnome.org/show_bug.cgi?id=745768
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/libs/aggregator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/check/libs/aggregator.c b/tests/check/libs/aggregator.c index 52bdd7fb9..b0fe545e5 100644 --- a/tests/check/libs/aggregator.c +++ b/tests/check/libs/aggregator.c @@ -641,14 +641,14 @@ _test_timeout (gint buffer_wait) pipeline = gst_pipeline_new ("pipeline"); src = gst_element_factory_make ("fakesrc", NULL); g_object_set (src, "num-buffers", TIMEOUT_NUM_BUFFERS, "sizetype", 2, - "sizemax", 4, NULL); + "sizemax", 4, "is-live", TRUE, "datarate", 4000, NULL); src1 = gst_element_factory_make ("fakesrc", NULL); g_object_set (src1, "num-buffers", TIMEOUT_NUM_BUFFERS, "sizetype", 2, - "sizemax", 4, NULL); + "sizemax", 4, "is-live", TRUE, "datarate", 4000, NULL); agg = gst_check_setup_element ("testaggregator"); - g_object_set (agg, "latency", G_GINT64_CONSTANT (1000) /* 1 us */ , NULL); + g_object_set (agg, "latency", GST_USECOND, NULL); sink = gst_check_setup_element ("fakesink"); g_object_set (sink, "signal-handoffs", TRUE, NULL); g_signal_connect (sink, "handoff", (GCallback) handoff, &count); |