summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-05-15 10:23:49 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-05-15 10:23:49 +0200
commitbc9747b3232e662e49a3f9dffc47a008e531d715 (patch)
tree2497cc633bc9e33944af5bffa034a9b3c51cea18 /tests
parent214c0d2e714ce35f50d793fa6482beaf3b9a7de9 (diff)
downloadgstreamer-plugins-bad-bc9747b3232e662e49a3f9dffc47a008e531d715.tar.gz
autoconvert: Fix event handling in unit test
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/autoconvert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/elements/autoconvert.c b/tests/check/elements/autoconvert.c
index a6458fc34..532f6b81d 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 */