summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-05-15 11:26:25 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-05-15 11:26:25 +0200
commit97e42f82dc21efd34fccbc9ab75785b74097ea14 (patch)
treeab17afcb804738b08c09ba335a804138c2a47e77
parent869bb69dd3748b498a7c4e800db6b533743f63c3 (diff)
downloadgstreamer-plugins-bad-97e42f82dc21efd34fccbc9ab75785b74097ea14.tar.gz
schroenc: Fix event handling in unit test
-rw-r--r--tests/check/elements/schroenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/elements/schroenc.c b/tests/check/elements/schroenc.c
index b7293c8bb..c38ca98e2 100644
--- a/tests/check/elements/schroenc.c
+++ b/tests/check/elements/schroenc.c
@@ -57,7 +57,7 @@ setup_schroenc (const gchar * src_caps_str)
gst_pad_set_active (srcpad, TRUE);
gst_pad_set_active (sinkpad, TRUE);
- gst_pad_set_caps (srcpad, srccaps);
+ gst_check_setup_events (srcpad, schroenc, srccaps, GST_FORMAT_TIME);
bus = gst_bus_new ();
gst_element_set_bus (schroenc, bus);