vp8dec-test: Send inital events

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

View file

@ -80,7 +80,7 @@ setup_vp8dec (const gchar * src_caps_str)
sinkpad = gst_check_setup_sink_pad (bin, &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, bin, srccaps, GST_FORMAT_TIME);
bus = gst_bus_new ();
gst_element_set_bus (bin, bus);