Commit a18128a3 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

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.
parent 8d326479
......@@ -22,4 +22,5 @@ ffmpegcolorspace
videoscale
vorbistag
playbin
playbin2
subparse
......@@ -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)");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment