tests: fix adder check on big-endian
authorTim-Philipp Müller <tim@centricular.com>
Fri, 24 Oct 2014 11:26:40 +0000 (12:26 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 24 Oct 2014 11:26:40 +0000 (12:26 +0100)
tests/check/elements/adder.c

index 315bef4..d1a91a9 100644 (file)
@@ -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);