[0.11] gst-plugins-base: tests: fix audioresample formats

Wim Taymans wtay at kemper.freedesktop.org
Tue Jan 31 08:56:36 PST 2012


Module: gst-plugins-base
Branch: 0.11
Commit: 29cc1d2ce190ee87f82eb47c8bc068fb92646810
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=29cc1d2ce190ee87f82eb47c8bc068fb92646810

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Tue Jan 31 17:56:04 2012 +0100

tests: fix audioresample formats

---

 tests/check/elements/audioresample.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/tests/check/elements/audioresample.c b/tests/check/elements/audioresample.c
index b489b99..721e54a 100644
--- a/tests/check/elements/audioresample.c
+++ b/tests/check/elements/audioresample.c
@@ -665,20 +665,20 @@ GST_START_TEST (test_pipelines)
     test_pipeline ("S8", 44100, 48000, quality);
     test_pipeline ("S8", 48000, 44100, quality);
 
-    test_pipeline ("S16", 44100, 48000, quality);
-    test_pipeline ("S16", 48000, 44100, quality);
+    test_pipeline (GST_AUDIO_NE (S16), 44100, 48000, quality);
+    test_pipeline (GST_AUDIO_NE (S16), 48000, 44100, quality);
 
-    test_pipeline ("S24", 44100, 48000, quality);
-    test_pipeline ("S24", 48000, 44100, quality);
+    test_pipeline (GST_AUDIO_NE (S24), 44100, 48000, quality);
+    test_pipeline (GST_AUDIO_NE (S24), 48000, 44100, quality);
 
-    test_pipeline ("S32", 44100, 48000, quality);
-    test_pipeline ("S32", 48000, 44100, quality);
+    test_pipeline (GST_AUDIO_NE (S32), 44100, 48000, quality);
+    test_pipeline (GST_AUDIO_NE (S32), 48000, 44100, quality);
 
-    test_pipeline ("F32", 44100, 48000, quality);
-    test_pipeline ("F32", 48000, 44100, quality);
+    test_pipeline (GST_AUDIO_NE (F32), 44100, 48000, quality);
+    test_pipeline (GST_AUDIO_NE (F32), 48000, 44100, quality);
 
-    test_pipeline ("F64", 44100, 48000, quality);
-    test_pipeline ("F64", 48000, 44100, quality);
+    test_pipeline (GST_AUDIO_NE (F64), 44100, 48000, quality);
+    test_pipeline (GST_AUDIO_NE (F64), 48000, 44100, quality);
   }
 }
 



More information about the gstreamer-commits mailing list