vp8enc-test: Send inital events

https://bugzilla.gnome.org/show_bug.cgi?id=700033
This commit is contained in:
Nicolas Dufresne 2013-05-09 17:49:03 -04:00 committed by Sebastian Dröge
parent f3bb4d6b34
commit c944987a2a

View file

@ -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);