mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
info: port to 0.11
This commit is contained in:
parent
ee1f861ec1
commit
c57c1e9b59
1 changed files with 6 additions and 10 deletions
|
@ -631,19 +631,15 @@ gst_debug_print_object (gpointer ptr)
|
|||
}
|
||||
if (GST_IS_BUFFER (ptr)) {
|
||||
GstBuffer *buf = (GstBuffer *) ptr;
|
||||
gchar *caps, *ret;
|
||||
gchar *ret;
|
||||
|
||||
caps = gst_caps_to_string (GST_BUFFER_CAPS (buf));
|
||||
ret =
|
||||
g_strdup_printf ("%p, data %p, malloc %p, ts %" GST_TIME_FORMAT
|
||||
", dur %" GST_TIME_FORMAT ", size %u, offset %" G_GUINT64_FORMAT
|
||||
", offset_end %" G_GUINT64_FORMAT ", caps: %s", buf,
|
||||
GST_BUFFER_DATA (buf), GST_BUFFER_MALLOCDATA (buf),
|
||||
g_strdup_printf ("%p, ts %" GST_TIME_FORMAT
|
||||
", dur %" GST_TIME_FORMAT ", size %" G_GSIZE_FORMAT ", offset %"
|
||||
G_GUINT64_FORMAT ", offset_end %" G_GUINT64_FORMAT, buf,
|
||||
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)),
|
||||
GST_TIME_ARGS (GST_BUFFER_DURATION (buf)), GST_BUFFER_SIZE (buf),
|
||||
GST_BUFFER_OFFSET (buf), GST_BUFFER_OFFSET_END (buf), caps);
|
||||
|
||||
g_free (caps);
|
||||
GST_TIME_ARGS (GST_BUFFER_DURATION (buf)), gst_buffer_get_size (buf),
|
||||
GST_BUFFER_OFFSET (buf), GST_BUFFER_OFFSET_END (buf));
|
||||
return ret;
|
||||
}
|
||||
#ifdef USE_POISONING
|
||||
|
|
Loading…
Reference in a new issue