summaryrefslogtreecommitdiff
path: root/tests/check/elements/audioresample.c
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2010-12-13 13:04:40 +0100
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2010-12-13 13:05:24 +0100
commita0e083a7175d7b63d736e3f90466dc5849e47701 (patch)
treea2ff1da8a114e059bd440d30871957eed1ca1dbe /tests/check/elements/audioresample.c
parent2f1eb43c62df24576896109b426ea17e1aaba3c8 (diff)
tests: audioresample: adjust unit test to relaxed discont checking
Diffstat (limited to 'tests/check/elements/audioresample.c')
-rw-r--r--tests/check/elements/audioresample.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/check/elements/audioresample.c b/tests/check/elements/audioresample.c
index a9a2e3b96..a8a79a306 100644
--- a/tests/check/elements/audioresample.c
+++ b/tests/check/elements/audioresample.c
@@ -327,18 +327,18 @@ test_discont_stream_instance (int inrate, int outrate, int samples,
GST_START_TEST (test_discont_stream)
{
/* integral scalings */
- test_discont_stream_instance (48000, 24000, 500, 20);
- test_discont_stream_instance (48000, 12000, 500, 20);
- test_discont_stream_instance (12000, 24000, 500, 20);
- test_discont_stream_instance (12000, 48000, 500, 20);
+ test_discont_stream_instance (48000, 24000, 5000, 20);
+ test_discont_stream_instance (48000, 12000, 5000, 20);
+ test_discont_stream_instance (12000, 24000, 5000, 20);
+ test_discont_stream_instance (12000, 48000, 5000, 20);
/* non-integral scalings */
- test_discont_stream_instance (44100, 8000, 500, 20);
- test_discont_stream_instance (8000, 44100, 500, 20);
+ test_discont_stream_instance (44100, 8000, 5000, 20);
+ test_discont_stream_instance (8000, 44100, 5000, 20);
/* wacky scalings */
- test_discont_stream_instance (12345, 54321, 500, 20);
- test_discont_stream_instance (101, 99, 500, 20);
+ test_discont_stream_instance (12345, 54321, 5000, 20);
+ test_discont_stream_instance (101, 99, 5000, 20);
}
GST_END_TEST;