tests/aggregator: Use correct type when setting property

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=741495
This commit is contained in:
Sebastian Rasmussen 2014-12-14 01:29:26 +01:00 committed by Tim-Philipp Müller
parent 47d0efacf2
commit d391c9cfed

View file

@ -585,7 +585,7 @@ _test_timeout (gint buffer_wait)
"sizemax", 4, NULL);
agg = gst_check_setup_element ("testaggregator");
g_object_set (agg, "timeout", 1000 /* 1 us */ , NULL);
g_object_set (agg, "timeout", G_GINT64_CONSTANT (1000) /* 1 us */ , NULL);
sink = gst_check_setup_element ("fakesink");
g_object_set (sink, "signal-handoffs", TRUE, NULL);
g_signal_connect (sink, "handoff", (GCallback) handoff, &count);