From a18128a3f69dc6311824c242ea4885589ad6c0c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 12 May 2009 23:51:08 +0100 Subject: [PATCH] tests: fix audioresample unit test on big endian architectures Don't hardcode endianness=1234 in the filtercaps, it will cause pad link failures which will result in the test timing out. --- tests/check/elements/.gitignore | 1 + tests/check/elements/audioresample.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/check/elements/.gitignore b/tests/check/elements/.gitignore index 269bacc305..5cae8f226f 100644 --- a/tests/check/elements/.gitignore +++ b/tests/check/elements/.gitignore @@ -22,4 +22,5 @@ ffmpegcolorspace videoscale vorbistag playbin +playbin2 subparse diff --git a/tests/check/elements/audioresample.c b/tests/check/elements/audioresample.c index 24f77a1400..0a11ed8e95 100644 --- a/tests/check/elements/audioresample.c +++ b/tests/check/elements/audioresample.c @@ -689,7 +689,7 @@ GST_START_TEST (test_preference_passthrough) pipeline = gst_parse_launch ("audiotestsrc num-buffers=1 name=src ! " "audioresample ! audio/x-raw-int,channels=1,width=16,depth=16," - "endianness=1234,signed=true,rate=8000 ! " + "endianness=BYTE_ORDER,signed=true,rate=8000 ! " "fakesink can-activate-pull=false", &error); fail_unless (pipeline != NULL, "Error parsing pipeline: %s", error ? error->message : "(invalid error)");