summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2021-03-11 02:36:28 +0900
committerSeungha Yang <seungha@centricular.com>2021-03-11 13:31:18 +0900
commitcdce27d97535d9babca8a9dc34789e847a5bd4bb (patch)
treed38c18fec740ac99ced5342d48ce778d0ca463d8 /gst-libs
parenta6b5e3c7d59c699063296611da91b2654303b3e6 (diff)
downloadgstreamer-plugins-bad-cdce27d97535d9babca8a9dc34789e847a5bd4bb.tar.gz
d3d11device: Fix wrong printf formatting
Add missing '%' there Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2069>
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/d3d11/gstd3d11device.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst-libs/gst/d3d11/gstd3d11device.c b/gst-libs/gst/d3d11/gstd3d11device.c
index 2de71364a..df075246b 100644
--- a/gst-libs/gst/d3d11/gstd3d11device.c
+++ b/gst-libs/gst/d3d11/gstd3d11device.c
@@ -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;