summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2008-10-10 11:17:09 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2008-10-10 11:17:09 +0000
commit703533e7ed45252e99f922703e3b87c41e6be570 (patch)
tree3fafd5c933f4f0b40a25ece3330ca6f612c013c3 /gst
parent54cac6e2f00a91dfd11a09faa26fd8d615c3ed68 (diff)
downloadgst-plugins-bad-703533e7ed45252e99f922703e3b87c41e6be570.tar.gz
gst-plugins-bad-703533e7ed45252e99f922703e3b87c41e6be570.tar.bz2
gst-plugins-bad-703533e7ed45252e99f922703e3b87c41e6be570.zip
Fix compiler warning on OS/X about parameters not matching the debug format string.
Original commit message from CVS: 2008-10-10 Jan Schmidt <jan.schmidt@sun.com> * gst/flacparse/gstbaseparse.c (gst_base_parse_push_buffer), (gst_base_parse_update_upstream_durations): Fix compiler warning on OS/X about parameters not matching the debug format string.
Diffstat (limited to 'gst')
-rw-r--r--gst/flacparse/gstbaseparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/flacparse/gstbaseparse.c b/gst/flacparse/gstbaseparse.c
index ddd016cb..9b4a9f13 100644
--- a/gst/flacparse/gstbaseparse.c
+++ b/gst/flacparse/gstbaseparse.c
@@ -802,7 +802,7 @@ gst_base_parse_push_buffer (GstBaseParse * parse, GstBuffer * buffer)
gst_util_uint64_scale (parse->priv->upstream_size, 8 * GST_SECOND,
parse->priv->avg_bitrate);
GST_DEBUG_OBJECT (parse, "Estimated duration: %" GST_TIME_FORMAT,
- parse->priv->estimated_duration);
+ GST_TIME_ARGS (parse->priv->estimated_duration));
} else if (!parse->priv->upstream_size && parse->priv->upstream_duration) {
parse->priv->avg_bitrate =
gst_util_uint64_scale (parse->priv->offset, 8 * GST_SECOND,
@@ -916,7 +916,7 @@ gst_base_parse_update_upstream_durations (GstBaseParse * parse)
fmt == GST_FORMAT_TIME && duration != -1) {
parse->priv->upstream_duration = duration;
GST_DEBUG_OBJECT (parse, "Upstream duration: %" GST_TIME_FORMAT,
- parse->priv->upstream_duration);
+ GST_TIME_ARGS (parse->priv->upstream_duration));
} else {
GST_DEBUG_OBJECT (parse, "Failed to get upstream duration");
parse->priv->upstream_duration = 0;