tests: fix audiorate test
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 3 Feb 2012 08:57:21 +0000 (09:57 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 3 Feb 2012 08:57:21 +0000 (09:57 +0100)
We need to add the layout to the audio caps.

tests/check/elements/audiorate.c

index f358dce..c3cb5a8 100644 (file)
@@ -410,6 +410,7 @@ GST_START_TEST (test_large_discont)
   audiorate = gst_check_setup_element ("audiorate");
   caps = gst_caps_new_simple ("audio/x-raw",
       "format", G_TYPE_STRING, GST_AUDIO_NE (F32),
+      "layout", G_TYPE_STRING, "interleaved",
       "channels", G_TYPE_INT, 1, "rate", G_TYPE_INT, 44100, NULL);
 
   srcpad = gst_check_setup_src_pad (audiorate, &srctemplate);