d3d11device: Fix wrong printf formatting
authorSeungha Yang <seungha@centricular.com>
Wed, 10 Mar 2021 17:36:28 +0000 (02:36 +0900)
committerSeungha Yang <seungha@centricular.com>
Thu, 11 Mar 2021 04:31:18 +0000 (13:31 +0900)
Add missing '%' there

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2069>

gst-libs/gst/d3d11/gstd3d11device.c

index 2de7136..df07524 100644 (file)
@@ -710,8 +710,9 @@ gst_d3d11_device_constructed (GObject * object)
       description = g_utf16_to_utf8 (desc.Description, -1, NULL, NULL, NULL);
       GST_DEBUG_OBJECT (self,
           "adapter index %d: D3D11 device vendor-id: 0x%04x, device-id: 0x%04x, "
-          "Flags: 0x%x, adapter-luid: " G_GINT64_FORMAT ", %s",
-          priv->adapter, desc.VendorId, desc.DeviceId, desc.Flags, description);
+          "Flags: 0x%x, adapter-luid: %" G_GINT64_FORMAT ", %s",
+          priv->adapter, desc.VendorId, desc.DeviceId, desc.Flags, adapter_luid,
+          description);
 
       priv->vendor_id = desc.VendorId;
       priv->device_id = desc.DeviceId;