summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2013-07-01 20:35:21 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2013-07-01 20:45:42 -0400
commitbbb26f875692a6cd84050c545ba85a7d2129cf5d (patch)
tree758dcf1c803b87b8b59371531b48b9a8b0c45544 /tests
parent176e16aa5ffaa8a357873970aa420f56fff72be0 (diff)
downloadgstreamer-bbb26f875692a6cd84050c545ba85a7d2129cf5d.tar.gz
funnel: Re-push all sticky events when buffers come from a different pad
Don't special case segment/caps, just push all sticky events when they are received on the currently active pad or when the active pad changes.
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/funnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/elements/funnel.c b/tests/check/elements/funnel.c
index 4a7643c0ac..fd41a73c6c 100644
--- a/tests/check/elements/funnel.c
+++ b/tests/check/elements/funnel.c
@@ -204,7 +204,7 @@ GST_START_TEST (test_funnel_eos)
td.funnelsink11)));
/* This will fail because everything is EOS already */
- fail_if (gst_pad_push_event (td.mysrc1, gst_event_new_eos ()));
+ fail_unless (gst_pad_push_event (td.mysrc1, gst_event_new_eos ()));
fail_unless (num_eos == 2);
fail_unless (gst_pad_unlink (td.mysrc1, td.funnelsink11));