[0.11] gst-plugins-base: tests: remove unsupported formats

Wim Taymans wtay at kemper.freedesktop.org
Mon Jan 2 06:05:12 PST 2012


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

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Mon Jan  2 15:00:51 2012 +0100

tests: remove unsupported formats

Remove tests for a format that is no longer supported

---

 tests/check/elements/audioconvert.c |   30 ------------------------------
 1 files changed, 0 insertions(+), 30 deletions(-)

diff --git a/tests/check/elements/audioconvert.c b/tests/check/elements/audioconvert.c
index 3e34ed0..04f14ed 100644
--- a/tests/check/elements/audioconvert.c
+++ b/tests/check/elements/audioconvert.c
@@ -651,36 +651,6 @@ GST_START_TEST (test_int_conversion)
         );
   }
 
-  /* 16 bit signed <-> 8 in 16 bit signed */
-  /* NOTE: if audioconvert was doing dithering we'd have a problem */
-  {
-    gint16 in[] = { 0, 64 << 8, -64 << 8 };
-    gint16 out[] = { 0, 64, -64 };
-    RUN_CONVERSION ("16 signed to 8 in 16 signed",
-        in, get_int_caps (1, G_BYTE_ORDER, 16, 16, TRUE),
-        out, get_int_caps (1, G_BYTE_ORDER, 16, 8, TRUE)
-        );
-    RUN_CONVERSION ("8 in 16 signed to 16 signed",
-        out, get_int_caps (1, G_BYTE_ORDER, 16, 8, TRUE),
-        in, get_int_caps (1, G_BYTE_ORDER, 16, 16, TRUE)
-        );
-  }
-
-  /* 16 bit unsigned <-> 8 in 16 bit unsigned */
-  /* NOTE: if audioconvert was doing dithering we'd have a problem */
-  {
-    guint16 in[] = { 1 << 15, (1 << 15) - (64 << 8), (1 << 15) + (64 << 8) };
-    guint16 out[] = { 1 << 7, (1 << 7) - 64, (1 << 7) + 64 };
-    RUN_CONVERSION ("16 unsigned to 8 in 16 unsigned",
-        in, get_int_caps (1, G_BYTE_ORDER, 16, 16, FALSE),
-        out, get_int_caps (1, G_BYTE_ORDER, 16, 8, FALSE)
-        );
-    RUN_CONVERSION ("8 in 16 unsigned to 16 unsigned",
-        out, get_int_caps (1, G_BYTE_ORDER, 16, 8, FALSE),
-        in, get_int_caps (1, G_BYTE_ORDER, 16, 16, FALSE)
-        );
-  }
-
   /* 32 bit signed -> 16 bit signed for rounding check */
   /* NOTE: if audioconvert was doing dithering we'd have a problem */
   {



More information about the gstreamer-commits mailing list