videofilter-test: Send inital events
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 9 May 2013 22:25:17 +0000 (18:25 -0400)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 11 May 2013 07:12:06 +0000 (09:12 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=700033

tests/check/elements/videofilter.c

index bf054cf..2b5ae56 100644 (file)
@@ -88,7 +88,7 @@ check_filter_caps (const gchar * name, GstCaps * caps, gint size,
           GST_STATE_PLAYING) == GST_STATE_CHANGE_SUCCESS,
       "could not set to playing");
 
-  gst_pad_set_caps (mysrcpad, caps);
+  gst_check_setup_events (mysrcpad, filter, caps, GST_FORMAT_TIME);
 
   /* ensure segment (format) properly setup */
   gst_segment_init (&segment, GST_FORMAT_TIME);