va: allocator: log drm modifier
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 15 Nov 2021 09:15:38 +0000 (10:15 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 22 Nov 2021 15:27:10 +0000 (15:27 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1369>

subprojects/gst-plugins-bad/sys/va/gstvaallocator.c

index 87d6802..bfd66aa 100644 (file)
@@ -586,9 +586,9 @@ gst_va_dmabuf_allocator_setup_buffer_full (GstAllocator * allocator,
       GST_VIDEO_INFO_SIZE (info) += size;
 
     GST_LOG_OBJECT (self, "buffer %p: new dmabuf %d / surface %#x [%dx%d] "
-        "size %" G_GSIZE_FORMAT, buffer, fd, surface,
+        "size %" G_GSIZE_FORMAT " drm mod %#lx", buffer, fd, surface,
         GST_VIDEO_INFO_WIDTH (&self->info), GST_VIDEO_INFO_HEIGHT (&self->info),
-        GST_VIDEO_INFO_SIZE (&self->info));
+        GST_VIDEO_INFO_SIZE (&self->info), *drm_mod);
   }
 
   if (G_UNLIKELY (info)) {