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.
This commit is contained in:
Tim-Philipp Müller 2009-05-12 23:51:08 +01:00
parent 8d326479a5
commit a18128a3f6
2 changed files with 2 additions and 1 deletions

View file

@ -22,4 +22,5 @@ ffmpegcolorspace
videoscale
vorbistag
playbin
playbin2
subparse

View file

@ -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)");