}
static void
-dump_memory_content (GstMpegTsDescriptor * desc, guint spacing)
-{
- gsize off = 0;
-
- while (off < desc->length) {
- gchar buf[128];
-
- /* gst_info_dump_mem_line will process 16 bytes at most */
- gst_info_dump_mem_line (buf, sizeof (buf), desc->data, off + 2,
- desc->length - off);
- g_printf ("%*s %s\n", spacing, "", buf);
- off += 16;
- }
-}
-
-static void
dump_memory_bytes (guint8 * data, guint len, guint spacing)
{
gsize off = 0;
}
}
+#define dump_memory_content(desc, spacing) dump_memory_bytes((desc)->data + 2, (desc)->length, spacing)
+
static const gchar *
descriptor_name (gint val)
{