tests: remove commented code from audioconvert test
authorStefan Sauer <ensonic@users.sf.net>
Sun, 27 Dec 2015 18:41:43 +0000 (19:41 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Sun, 27 Dec 2015 18:41:43 +0000 (19:41 +0100)
This is just what we have in gst_check_buffer_data().

tests/check/elements/audioconvert.c

index ee1f003496cc14f848124c51be38b91bd1f780bd..23b5e4adb79c7ee9a596f4dc06c6a4b43a5ed995 100644 (file)
@@ -438,18 +438,6 @@ verify_convert (const gchar * which, void *in, int inlength,
   fail_unless_equals_int (gst_buffer_get_size (outbuffer), outlength);
 
   gst_check_buffer_data (outbuffer, out, outlength);
-#if 0
-  if (memcmp (GST_BUFFER_DATA (outbuffer), out, outlength) != 0) {
-    g_print ("\nInput data:\n");
-    gst_util_dump_mem (in, inlength);
-    g_print ("\nConverted data:\n");
-    gst_util_dump_mem (GST_BUFFER_DATA (outbuffer), outlength);
-    g_print ("\nExpected data:\n");
-    gst_util_dump_mem (out, outlength);
-  }
-  fail_unless (memcmp (GST_BUFFER_DATA (outbuffer), out, outlength) == 0,
-      "failed converting %s", which);
-#endif
 
   /* make sure that the channel positions are not lost */
   {