diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-09-07 14:10:46 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-09-07 14:10:46 +0200 |
commit | 2d1dd857aa5ef92c579de6cb4a0ba566bf1b1cbc (patch) | |
tree | 2712051218c60c15ee034dc68c855f206be8c203 | |
parent | f93748fbd496953409b8e0815ac6a27b2ad5367c (diff) |
audiorate: Use complete audio caps, including the endianness field
-rw-r--r-- | tests/check/elements/audiorate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/check/elements/audiorate.c b/tests/check/elements/audiorate.c index 7845672fc..55b67032f 100644 --- a/tests/check/elements/audiorate.c +++ b/tests/check/elements/audiorate.c @@ -409,7 +409,8 @@ GST_START_TEST (test_large_discont) audiorate = gst_check_setup_element ("audiorate"); caps = gst_caps_new_simple ("audio/x-raw-float", "channels", G_TYPE_INT, 1, - "rate", G_TYPE_INT, 44100, "width", G_TYPE_INT, 32, NULL); + "rate", G_TYPE_INT, 44100, "width", G_TYPE_INT, 32, + "endianness", G_TYPE_INT, G_BYTE_ORDER, NULL); srcpad = gst_check_setup_src_pad (audiorate, &srctemplate, caps); sinkpad = gst_check_setup_sink_pad (audiorate, &sinktemplate, caps); |