From 52bd182e987a7cf3ed1b92317579564e32b9d5b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 5 Mar 2014 00:51:04 +0000 Subject: [PATCH] tests: fix mpg123audiodec test for big-endian architectures --- tests/check/elements/mpg123audiodec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/check/elements/mpg123audiodec.c b/tests/check/elements/mpg123audiodec.c index 1085b49929..20d6e779dd 100644 --- a/tests/check/elements/mpg123audiodec.c +++ b/tests/check/elements/mpg123audiodec.c @@ -150,7 +150,7 @@ FFT_HELPERS (gint32, S32, s32, 2147483647.0); static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, - GST_STATIC_CAPS ("audio/x-raw, format = (string) S32LE ") + GST_STATIC_CAPS ("audio/x-raw, format = (string) " GST_AUDIO_NE (S32)) ); static GstStaticPadTemplate layer2_srctemplate = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, @@ -321,7 +321,7 @@ run_decoding_test (GstElement * mpg123audiodec, gchar const *filename) /* check caps */ out_caps = gst_caps_new_simple ("audio/x-raw", - "format", G_TYPE_STRING, "S32LE", + "format", G_TYPE_STRING, GST_AUDIO_NE (S32), "layout", G_TYPE_STRING, "interleaved", "rate", G_TYPE_INT, 44100, "channels", G_TYPE_INT, 1, NULL);