mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
tests: fix audiorate test
We need to add the layout to the audio caps.
This commit is contained in:
parent
6c4367f6e2
commit
8c894ce8b4
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue