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;
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;
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;
}
}
}
-
+
has_cropping = self->has_cropping && (self->width != self->crop_width
|| self->height != self->crop_height);
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)
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 =
}
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);
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;