* @tmpl: pad template
* @name: Name of the @element src pad that will be linked to the sink pad that will be setup
*
- * Creates a new sink pad (based on the given @tmpl) and links it to the given @element src pad
+ * Creates a new sink pad (based on the given @tmpl) and links it to the given @element src pad
* (the pad that matches the given @name).
* You can set event/chain/query functions on this pad to check the output of the @element.
*
gst_util_dump_mem (info.data, info.size);
g_print ("\nExpected data:\n");
gst_util_dump_mem (data, size);
+ fail ("buffer contents not equal");
}
- fail_unless (memcmp (info.data, data, size) == 0,
- "buffer contents not equal");
gst_buffer_unmap (buffer, &info);
}