summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <rob@ti.com>2010-02-28 17:45:24 +0100
committerFelipe Contreras <felipe.contreras@nokia.com>2010-03-02 23:22:44 +0200
commitddee035746083677491d38f07b402a5467dff90e (patch)
treeaa25fbb3eba58faa3803ecac28918af24bb3b2b6
parent22184f5a0c584d2e19cac12d50e2ad8a5614c381 (diff)
Fixes for building for 64bit host
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
-rw-r--r--omx/gstomx_base_filter.c12
-rw-r--r--omx/gstomx_base_sink.c2
2 files changed, 7 insertions, 7 deletions
diff --git a/omx/gstomx_base_filter.c b/omx/gstomx_base_filter.c
index 287f50c..b0353cb 100644
--- a/omx/gstomx_base_filter.c
+++ b/omx/gstomx_base_filter.c
@@ -40,11 +40,11 @@ log_buffer (GstOmxBaseFilter *self,
OMX_BUFFERHEADERTYPE *omx_buffer)
{
GST_DEBUG_OBJECT (self, "omx_buffer: "
- "size=%" G_GUINT32_FORMAT ", "
- "len=%" G_GUINT32_FORMAT ", "
- "flags=%" G_GUINT32_FORMAT ", "
- "offset=%" G_GUINT32_FORMAT ", "
- "timestamp=%" G_GUINT64_FORMAT,
+ "size=%lu, "
+ "len=%lu, "
+ "flags=%lu, "
+ "offset=%lu, "
+ "timestamp=%lld",
omx_buffer->nAllocLen, omx_buffer->nFilledLen, omx_buffer->nFlags,
omx_buffer->nOffset, omx_buffer->nTimeStamp);
}
@@ -450,7 +450,7 @@ output_loop (gpointer data)
}
else
{
- GST_WARNING_OBJECT (self, "couldn't allocate buffer of size %" G_GUINT32_FORMAT,
+ GST_WARNING_OBJECT (self, "couldn't allocate buffer of size %lu",
omx_buffer->nFilledLen);
}
}
diff --git a/omx/gstomx_base_sink.c b/omx/gstomx_base_sink.c
index b50564d..c1a2076 100644
--- a/omx/gstomx_base_sink.c
+++ b/omx/gstomx_base_sink.c
@@ -161,7 +161,7 @@ render (GstBaseSink *gst_base,
gomx = self->gomx;
GST_LOG_OBJECT (self, "begin");
- GST_LOG_OBJECT (self, "gst_buffer: size=%lu", GST_BUFFER_SIZE (buf));
+ GST_LOG_OBJECT (self, "gst_buffer: size=%u", GST_BUFFER_SIZE (buf));
GST_LOG_OBJECT (self, "state: %d", gomx->omx_state);