summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2013-08-30 21:52:35 +0200
committerJosep Torra <n770galaxy@gmail.com>2013-08-30 21:52:35 +0200
commit47c35ee52e3f946abf50f2892f002a12d849dc83 (patch)
tree1e76d21ad2a794c29d55edbd25ba296b6b66685c
parent0b54b0568da69801fc79516863487aed19f5761a (diff)
downloadgstreamer-plugins-bad-47c35ee52e3f946abf50f2892f002a12d849dc83.tar.gz
dashdemux: Fix warnings when building in OS X Snow Leopard
gstdashdemux.c:1753: warning: format '%llu' expects type 'long long unsigned int', but argument 8 has type 'long unsigned int' gstdashdemux.c:2224: warning: format '%llu' expects type 'long long unsigned int', but argument 9 has type 'guint64' gstdashdemux.c:2224: warning: format '%llu' expects type 'long long unsigned int', but argument 10 has type 'guint64'
-rw-r--r--ext/dash/gstdashdemux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c
index 8d8ce691f..25ee3307e 100644
--- a/ext/dash/gstdashdemux.c
+++ b/ext/dash/gstdashdemux.c
@@ -1750,7 +1750,7 @@ gst_dash_demux_download_loop (GstDashDemux * demux)
}
}
- GST_INFO_OBJECT (demux, "Internal buffering : %" PRIu64 " s",
+ GST_INFO_OBJECT (demux, "Internal buffering : %" G_GUINT64_FORMAT " s",
gst_dash_demux_get_buffering_time (demux) / GST_SECOND);
demux->client->update_failed_count = 0;
@@ -2222,7 +2222,7 @@ gst_dash_demux_get_next_fragment (GstDashDemux * demux,
brate = (size_buffer * 8) / ((double) diff / GST_SECOND);
#endif
GST_INFO_OBJECT (demux,
- "Stream: %d Download rate = %" PRIu64 " Kbits/s (%" PRIu64
+ "Stream: %d Download rate = %" G_GUINT64_FORMAT " Kbits/s (%" G_GUINT64_FORMAT
" Ko in %.2f s)", selected_stream->index,
brate / 1000, size_buffer / 1024, ((double) diff / GST_SECOND));
}