summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-11-05 21:44:51 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-11-05 21:44:51 +0000
commitc3ee4820e6e77e39e9246655e56c75c9b7995861 (patch)
tree90f7f5c4bf63f8b7714192f62ba42d31dea03743
parentcf481210e88e0a30c8210d9c2c8fa69c20cc7b53 (diff)
directfb: printf format fixes
-rw-r--r--ext/directfb/dfbvideosink.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/directfb/dfbvideosink.c b/ext/directfb/dfbvideosink.c
index f48864d69..707e9b0c2 100644
--- a/ext/directfb/dfbvideosink.c
+++ b/ext/directfb/dfbvideosink.c
@@ -270,8 +270,8 @@ gst_dfbvideosink_surface_create (GstDfbVideoSink * dfbvideosink, GstCaps * caps,
or we are going to run into serious stride issues */
if (GST_BUFFER_SIZE (surface) != size) {
GST_WARNING_OBJECT (dfbvideosink, "DirectFB surface size (%dx%d=%d) "
- "differs from GStreamer requested size %d", pitch, surface->height,
- GST_BUFFER_SIZE (surface), size);
+ "differs from GStreamer requested size %u", pitch, surface->height,
+ GST_BUFFER_SIZE (surface), (guint) size);
goto fallback;
}
@@ -298,8 +298,8 @@ fallback:
surface->surface->Release (surface->surface);
surface->surface = NULL;
}
- GST_DEBUG_OBJECT (dfbvideosink, "allocating a buffer (%p) of %d bytes",
- surface, size);
+ GST_DEBUG_OBJECT (dfbvideosink, "allocating a buffer (%p) of %u bytes",
+ surface, (guint) size);
succeeded = TRUE;
@@ -694,7 +694,7 @@ gst_dfbvideosink_setup (GstDfbVideoSink * dfbvideosink)
GstColorBalanceChannel *channel = NULL;
GST_DEBUG_OBJECT (dfbvideosink, "adding %s as a colorbalance channel",
- walk->data);
+ (const char *) walk->data);
channel = g_object_new (GST_TYPE_COLOR_BALANCE_CHANNEL, NULL);
channel->label = g_strdup (walk->data);
@@ -1703,8 +1703,8 @@ gst_dfbvideosink_buffer_alloc (GstBaseSink * bsink, guint64 offset, guint size,
dfbvideosink = GST_DFBVIDEOSINK (bsink);
- GST_DEBUG_OBJECT (dfbvideosink, "a buffer of %d bytes was requested "
- "with caps %" GST_PTR_FORMAT " and offset %llu", size, caps, offset);
+ GST_LOG_OBJECT (dfbvideosink, "a buffer of %u bytes was requested with caps "
+ "%" GST_PTR_FORMAT " and offset %" G_GUINT64_FORMAT, size, caps, offset);
if (G_UNLIKELY (!dfbvideosink->setup)) {
GST_DEBUG_OBJECT (dfbvideosink, "we are not setup yet, can't allocate!");