mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
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:
parent
8d326479a5
commit
a18128a3f6
2 changed files with 2 additions and 1 deletions
1
tests/check/elements/.gitignore
vendored
1
tests/check/elements/.gitignore
vendored
|
@ -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)");
|
||||
|
|
Loading…
Reference in a new issue