mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
waylandsink/waylandpool: improve debug message
This commit is contained in:
parent
0bec75a30f
commit
a7eb053708
1 changed files with 2 additions and 1 deletions
|
@ -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_video_format_to_wayland_format (GST_VIDEO_INFO_FORMAT (&self->info));
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (self, "Allocating buffer of size %" G_GSSIZE_FORMAT
|
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 */
|
/* try to reserve another memory block from the shm pool */
|
||||||
if (self->used + size > self->size)
|
if (self->used + size > self->size)
|
||||||
|
|
Loading…
Reference in a new issue