tests/check/elements/wavpackenc.c: Don't check the caps of the output buffer if they...
authorSebastian Dröge <slomo@circular-chaos.org>
Mon, 26 Nov 2007 09:04:17 +0000 (09:04 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Mon, 26 Nov 2007 09:04:17 +0000 (09:04 +0000)
Original commit message from CVS:
* tests/check/elements/wavpackenc.c: (GST_START_TEST):
Don't check the caps of the output buffer if they're equal some
other caps. The caps can change in a backward compatible way
and did at this point.

ChangeLog
tests/check/elements/wavpackenc.c

index 1bb0002..4f26a6d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-11-26  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * tests/check/elements/wavpackenc.c: (GST_START_TEST):
+       Don't check the caps of the output buffer if they're equal some
+       other caps. The caps can change in a backward compatible way
+       and did at this point.
+
 2007-11-24  Julien MOUTTE  <julien@moutte.net>
 
        * gst/qtdemux/qtdemux.c: (gst_qtdemux_find_segment),
index a22d2ac..6a160fa 100644 (file)
@@ -141,11 +141,6 @@ GST_START_TEST (test_encode_silence)
   fail_unless (memcmp (GST_BUFFER_DATA (outbuffer), "wvpk", 4) == 0,
       "Failed to encode to valid Wavpack frames");
 
-  caps = gst_caps_from_string (WAVPACK_CAPS_STRING);
-  fail_unless (gst_caps_is_equal (caps, GST_BUFFER_CAPS (outbuffer)) == TRUE,
-      "Wrong caps");
-  gst_caps_unref (caps);
-
   /* free all buffers */
   num_buffers = g_list_length (buffers);