summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2009-09-20 00:22:26 +0300
committerFelipe Contreras <felipe.contreras@gmail.com>2009-09-20 00:31:15 +0300
commit59631309c4e832f5ada0232c04b9556861360ea4 (patch)
tree6c5526146dc6f017c241cb2500131ca127b1877f
parent114cad503cbd091ea6e39009005688ecf49526c4 (diff)
base_filter: more proper printf formatting
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
-rw-r--r--omx/gstomx_base_filter.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/omx/gstomx_base_filter.c b/omx/gstomx_base_filter.c
index 2de7a85..287f50c 100644
--- a/omx/gstomx_base_filter.c
+++ b/omx/gstomx_base_filter.c
@@ -39,7 +39,12 @@ static inline void
log_buffer (GstOmxBaseFilter *self,
OMX_BUFFERHEADERTYPE *omx_buffer)
{
- GST_DEBUG_OBJECT (self, "omx_buffer: size=%lu, len=%lu, flags=%lu, offset=%lu, timestamp=%lld",
+ 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,
omx_buffer->nAllocLen, omx_buffer->nFilledLen, omx_buffer->nFlags,
omx_buffer->nOffset, omx_buffer->nTimeStamp);
}
@@ -445,7 +450,7 @@ output_loop (gpointer data)
}
else
{
- GST_WARNING_OBJECT (self, "couldn't allocate buffer of size %d",
+ GST_WARNING_OBJECT (self, "couldn't allocate buffer of size %" G_GUINT32_FORMAT,
omx_buffer->nFilledLen);
}
}