mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
tests: remove commented code from audioconvert test
This is just what we have in gst_check_buffer_data().
This commit is contained in:
parent
0bd3f818bb
commit
267e7ba1d9
1 changed files with 0 additions and 12 deletions
|
@ -438,18 +438,6 @@ verify_convert (const gchar * which, void *in, int inlength,
|
||||||
fail_unless_equals_int (gst_buffer_get_size (outbuffer), outlength);
|
fail_unless_equals_int (gst_buffer_get_size (outbuffer), outlength);
|
||||||
|
|
||||||
gst_check_buffer_data (outbuffer, out, 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 */
|
/* make sure that the channel positions are not lost */
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue