tests: fix audiorate test

We need to add the layout to the audio caps.
This commit is contained in:
Wim Taymans 2012-02-03 09:57:21 +01:00
parent 6c4367f6e2
commit 8c894ce8b4

View file

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