summaryrefslogtreecommitdiff
path: root/sys/vdpau
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vdpau')
-rw-r--r--sys/vdpau/gstvdpdecoder.c2
-rw-r--r--sys/vdpau/gstvdpvideomemory.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/vdpau/gstvdpdecoder.c b/sys/vdpau/gstvdpdecoder.c
index 264cee1ac..5837da90e 100644
--- a/sys/vdpau/gstvdpdecoder.c
+++ b/sys/vdpau/gstvdpdecoder.c
@@ -137,7 +137,7 @@ gst_vdp_decoder_init_decoder (GstVdpDecoder * vdp_decoder,
}
GST_DEBUG_OBJECT (vdp_decoder,
- "device:%p, profile:%d, width:%d, height:%d, max_references:%d",
+ "device:%u, profile:%d, width:%d, height:%d, max_references:%d",
device->device, profile, output_state->info.width,
output_state->info.height, max_references);
diff --git a/sys/vdpau/gstvdpvideomemory.c b/sys/vdpau/gstvdpvideomemory.c
index d6e141b78..3f15a8c58 100644
--- a/sys/vdpau/gstvdpvideomemory.c
+++ b/sys/vdpau/gstvdpvideomemory.c
@@ -152,7 +152,8 @@ release_data (GstVdpVideoMemory * vmem)
static gpointer
_vdp_video_mem_map (GstVdpVideoMemory * vmem, gsize maxsize, GstMapFlags flags)
{
- GST_DEBUG ("surface:%d, maxsize:%d, flags:%d", vmem->surface, maxsize, flags);
+ GST_DEBUG ("surface:%d, maxsize:%" G_GSIZE_FORMAT ", flags:%d",
+ vmem->surface, maxsize, flags);
if (!ensure_data (vmem))
return NULL;