From: Nicolas Dufresne Date: Thu, 9 May 2013 21:49:03 +0000 (-0400) Subject: vp8enc-test: Send inital events X-Git-Tag: 1.1.1~112 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c944987a2a68a12fe83dc4171db9edf730640ff8;p=platform%2Fupstream%2Fgst-plugins-good.git vp8enc-test: Send inital events https://bugzilla.gnome.org/show_bug.cgi?id=700033 --- diff --git a/tests/check/elements/vp8enc.c b/tests/check/elements/vp8enc.c index 1499eed..86b1d92 100644 --- a/tests/check/elements/vp8enc.c +++ b/tests/check/elements/vp8enc.c @@ -55,7 +55,7 @@ setup_vp8enc (const gchar * src_caps_str) sinkpad = gst_check_setup_sink_pad (vp8enc, &sinktemplate); gst_pad_set_active (srcpad, TRUE); gst_pad_set_active (sinkpad, TRUE); - fail_unless (gst_pad_set_caps (srcpad, srccaps)); + gst_check_setup_events (srcpad, vp8enc, srccaps, GST_FORMAT_TIME); bus = gst_bus_new (); gst_element_set_bus (vp8enc, bus);