summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2009-10-11 11:27:08 +0200
committerJosep Torra <n770galaxy@gmail.com>2009-10-11 11:27:08 +0200
commitdac26cb18fb14dfa350fd6bb0a3f59ec284f1e06 (patch)
treef89a34508f1bb1b261bf090b4735b2755d657ed4
parente1a98f345446ee7145cae7cb6fc003ea5fc84efd (diff)
amrparse: fix warnings in macosx snow leopard
-rw-r--r--gst/amrparse/gstamrparse.c5
-rw-r--r--gst/amrparse/gstbaseparse.c8
2 files changed, 8 insertions, 5 deletions
diff --git a/gst/amrparse/gstamrparse.c b/gst/amrparse/gstamrparse.c
index 64cf95478..ced8ad3e9 100644
--- a/gst/amrparse/gstamrparse.c
+++ b/gst/amrparse/gstamrparse.c
@@ -550,7 +550,8 @@ gst_amrparse_convert (GstBaseParse * parse,
if (amrparse->framecount) {
*dest_value = AMR_FRAME_DURATION * (src_value - amrparse->header) / bpf;
- GST_DEBUG ("conversion result: %lld ms", *dest_value / GST_MSECOND);
+ GST_DEBUG ("conversion result: %" G_GINT64_FORMAT " ms",
+ *dest_value / GST_MSECOND);
ret = TRUE;
}
}
@@ -559,7 +560,7 @@ gst_amrparse_convert (GstBaseParse * parse,
if (dest_format == GST_FORMAT_BYTES) {
if (amrparse->framecount) {
*dest_value = bpf * src_value / AMR_FRAME_DURATION + amrparse->header;
- GST_DEBUG ("time %lld ms in bytes = %lld",
+ GST_DEBUG ("time %" G_GINT64_FORMAT " ms in bytes = %" G_GINT64_FORMAT,
src_value / GST_MSECOND, *dest_value);
ret = TRUE;
}
diff --git a/gst/amrparse/gstbaseparse.c b/gst/amrparse/gstbaseparse.c
index 16af9a3cc..59c0d269a 100644
--- a/gst/amrparse/gstbaseparse.c
+++ b/gst/amrparse/gstbaseparse.c
@@ -919,7 +919,7 @@ gst_base_parse_chain (GstPad * pad, GstBuffer * buffer)
bclass = GST_BASE_PARSE_GET_CLASS (parse);
if (G_LIKELY (buffer)) {
- GST_LOG_OBJECT (parse, "buffer size: %d, offset = %lld",
+ GST_LOG_OBJECT (parse, "buffer size: %d, offset = %" G_GINT64_FORMAT,
GST_BUFFER_SIZE (buffer), GST_BUFFER_OFFSET (buffer));
if (G_UNLIKELY (parse->priv->passthrough)) {
buffer = gst_buffer_make_metadata_writable (buffer);
@@ -1391,7 +1391,7 @@ gst_base_parse_set_duration (GstBaseParse * parse,
}
parse->priv->duration = duration;
parse->priv->duration_fmt = fmt;
- GST_DEBUG_OBJECT (parse, "set duration: %lld", duration);
+ GST_DEBUG_OBJECT (parse, "set duration: %" G_GINT64_FORMAT, duration);
GST_BASE_PARSE_UNLOCK (parse);
}
@@ -1662,7 +1662,9 @@ gst_base_parse_handle_seek (GstBaseParse * parse, GstEvent * event)
return FALSE;
}
- GST_DEBUG_OBJECT (parse, "seek position %lld in bytes: %lld", cur, seekpos);
+ GST_DEBUG_OBJECT (parse,
+ "seek position %" G_GINT64_FORMAT " in bytes: %" G_GINT64_FORMAT, cur,
+ seekpos);
if (parse->priv->pad_mode == GST_ACTIVATE_PULL) {
gint64 last_stop;