summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2014-10-24 12:26:40 +0100
committerWim Taymans <wtaymans@redhat.com>2015-09-07 10:13:06 +0200
commit1327829fb263bc485351ee1c1c1bb6addc211fd4 (patch)
tree344b558a5e24f75106611de91c5e00749439c42f
parentb0f043b13c5049a017af7c8d739e92fcbd0d7756 (diff)
tests: fix adder check on big-endian
-rw-r--r--tests/check/elements/adder.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/check/elements/adder.c b/tests/check/elements/adder.c
index 315bef42d..d1a91a972 100644
--- a/tests/check/elements/adder.c
+++ b/tests/check/elements/adder.c
@@ -33,6 +33,7 @@
#include <gst/check/gstcheck.h>
#include <gst/check/gstconsistencychecker.h>
#include <gst/base/gstbasesrc.h>
+#include <gst/audio/audio.h>
static GMainLoop *main_loop;
@@ -85,7 +86,7 @@ GST_START_TEST (test_filter_caps)
GstPad *pad;
filter_caps = gst_caps_new_simple ("audio/x-raw",
- "format", G_TYPE_STRING, "F32LE",
+ "format", G_TYPE_STRING, GST_AUDIO_NE (F32),
"layout", G_TYPE_STRING, "interleaved",
"rate", G_TYPE_INT, 44100, "channels", G_TYPE_INT, 1, NULL);