From a7eb053708a9c8dbd680dbc512c173504c561de3 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Thu, 13 Feb 2014 10:51:59 +0100 Subject: [PATCH] waylandsink/waylandpool: improve debug message --- ext/wayland/waylandpool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/wayland/waylandpool.c b/ext/wayland/waylandpool.c index a591c9c..f80c440 100644 --- a/ext/wayland/waylandpool.c +++ b/ext/wayland/waylandpool.c @@ -249,7 +249,8 @@ gst_wayland_buffer_pool_alloc (GstBufferPool * pool, GstBuffer ** buffer, gst_video_format_to_wayland_format (GST_VIDEO_INFO_FORMAT (&self->info)); GST_DEBUG_OBJECT (self, "Allocating buffer of size %" G_GSSIZE_FORMAT - " (%d x %d, stride %d), format %d", size, width, height, stride, format); + " (%d x %d, stride %d), format %s", size, width, height, stride, + gst_wayland_format_to_string (format)); /* try to reserve another memory block from the shm pool */ if (self->used + size > self->size) -- 2.7.4