mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
sys: print format fixes in debug messages
This commit is contained in:
parent
98265d0b28
commit
86ae538ca2
5 changed files with 10 additions and 8 deletions
|
@ -283,7 +283,7 @@ gst_avdtp_sink_start (GstBaseSink * basesink)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Got connection caps: " GST_PTR_FORMAT,
|
||||
GST_DEBUG_OBJECT (self, "Got connection caps: %" GST_PTR_FORMAT,
|
||||
self->dev_caps);
|
||||
|
||||
return TRUE;
|
||||
|
|
|
@ -141,7 +141,7 @@ parse_channels_conf_from_file (GstElement * dvbbasebin, const gchar * filename)
|
|||
open_fail:
|
||||
{
|
||||
GST_ELEMENT_ERROR (dvbbasebin, RESOURCE, READ, (NULL),
|
||||
("Opening channels configuration file failed : %s", filename,
|
||||
("Opening channels configuration file '%s' failed : %s", filename,
|
||||
err->message));
|
||||
g_clear_error (&err);
|
||||
return NULL;
|
||||
|
|
|
@ -397,7 +397,8 @@ dequeue_error:
|
|||
too_small_inbuf:
|
||||
{
|
||||
GST_ELEMENT_ERROR (self, STREAM, FORMAT, ("Too large input frames"),
|
||||
("Maximum size %d, got %d", mfc_inbuf_max_size, map.size));
|
||||
("Maximum size %d, got %" G_GSIZE_FORMAT, mfc_inbuf_max_size,
|
||||
map.size));
|
||||
ret = GST_FLOW_ERROR;
|
||||
gst_buffer_unmap (inbuf, &map);
|
||||
goto done;
|
||||
|
@ -542,7 +543,7 @@ gst_mfc_dec_fill_outbuf (GstMFCDec * self, GstBuffer * outbuf,
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
has_cropping = self->has_cropping && (self->width != self->crop_width
|
||||
|| self->height != self->crop_height);
|
||||
|
||||
|
@ -817,7 +818,7 @@ gst_mfc_dec_dequeue_output (GstMFCDec * self)
|
|||
|
||||
g_assert (mfc_outbuf != NULL);
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Got output buffer with ID %d", timestamp.tv_sec);
|
||||
GST_DEBUG_OBJECT (self, "Got output buffer with ID %ld", timestamp.tv_sec);
|
||||
|
||||
frame = NULL;
|
||||
if (timestamp.tv_sec != -1)
|
||||
|
@ -847,7 +848,7 @@ gst_mfc_dec_dequeue_output (GstMFCDec * self)
|
|||
|
||||
outbuf = frame->output_buffer;
|
||||
} else {
|
||||
GST_WARNING_OBJECT (self, "Didn't find a frame for ID %d",
|
||||
GST_WARNING_OBJECT (self, "Didn't find a frame for ID %ld",
|
||||
timestamp.tv_sec);
|
||||
|
||||
outbuf =
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue