summaryrefslogtreecommitdiff
path: root/gst/speed
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2009-10-11 13:13:56 +0200
committerJosep Torra <n770galaxy@gmail.com>2009-10-11 13:13:56 +0200
commit66b1cc9346645ccf3a0a480bc17ba077b16f4b7e (patch)
tree678e3007eafa2b01f7e642ee579aec5bd6971815 /gst/speed
parentfc0677a5a1336aff124a134cf16cbbe0a9fdb0a3 (diff)
downloadgstreamer-plugins-bad-66b1cc9346645ccf3a0a480bc17ba077b16f4b7e.tar.gz
speed: fix warnings in macosx snow leopard
Diffstat (limited to 'gst/speed')
-rw-r--r--gst/speed/gstspeed.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/gst/speed/gstspeed.c b/gst/speed/gstspeed.c
index feeede588..13466cb6e 100644
--- a/gst/speed/gstspeed.c
+++ b/gst/speed/gstspeed.c
@@ -367,9 +367,11 @@ speed_src_query (GstPad * pad, GstQuery * query)
}
if (rformat == GST_FORMAT_BYTES)
- GST_LOG_OBJECT (filter, "peer pad returned current=%lld bytes", cur);
+ GST_LOG_OBJECT (filter,
+ "peer pad returned current=%" G_GINT64_FORMAT " bytes", cur);
else if (rformat == GST_FORMAT_TIME)
- GST_LOG_OBJECT (filter, "peer pad returned time=%lld", cur);
+ GST_LOG_OBJECT (filter, "peer pad returned time=%" G_GINT64_FORMAT,
+ cur);
/* convert to time format */
if (!gst_speed_convert (pad, rformat, cur, &conv_format, &cur)) {
@@ -388,7 +390,8 @@ speed_src_query (GstPad * pad, GstQuery * query)
gst_query_set_position (query, format, cur);
GST_LOG_OBJECT (filter,
- "position query: we return %llu (format %u)", cur, format);
+ "position query: we return %" G_GUINT64_FORMAT " (format %u)", cur,
+ format);
break;
}
@@ -411,9 +414,11 @@ speed_src_query (GstPad * pad, GstQuery * query)
}
if (rformat == GST_FORMAT_BYTES)
- GST_LOG_OBJECT (filter, "peer pad returned total=%lld bytes", end);
+ GST_LOG_OBJECT (filter,
+ "peer pad returned total=%" G_GINT64_FORMAT " bytes", end);
else if (rformat == GST_FORMAT_TIME)
- GST_LOG_OBJECT (filter, "peer pad returned time=%lld", end);
+ GST_LOG_OBJECT (filter, "peer pad returned time=%" G_GINT64_FORMAT,
+ end);
/* convert to time format */
if (!gst_speed_convert (pad, rformat, end, &conv_format, &end)) {
@@ -433,7 +438,8 @@ speed_src_query (GstPad * pad, GstQuery * query)
gst_query_set_duration (query, format, end);
GST_LOG_OBJECT (filter,
- "duration query: we return %llu (format %u)", end, format);
+ "duration query: we return %" G_GUINT64_FORMAT " (format %u)", end,
+ format);
break;
}