From bc9747b3232e662e49a3f9dffc47a008e531d715 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 15 May 2013 10:23:49 +0200 Subject: [PATCH] autoconvert: Fix event handling in unit test --- tests/check/elements/autoconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/check/elements/autoconvert.c b/tests/check/elements/autoconvert.c index a6458fc..532f6b8 100644 --- a/tests/check/elements/autoconvert.c +++ b/tests/check/elements/autoconvert.c @@ -100,7 +100,7 @@ GST_START_TEST (test_autoconvert_simple) /* Setting original caps */ caps = gst_caps_from_string ("test/caps,type=(int)1"); - fail_unless (gst_pad_set_caps (test_src_pad, caps)); + gst_check_setup_events (test_src_pad, autoconvert, caps, GST_FORMAT_BYTES); gst_caps_unref (caps); /* Push 10 items */ -- 2.7.4