diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index db67adbffd..b4c94424e1 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -146,6 +146,7 @@ #define GLIB_DISABLE_DEPRECATION_WARNINGS #include +#include #include #include "gstdashdemux.h" @@ -1198,7 +1199,7 @@ gst_dash_demux_download_loop (GstDashDemux * demux) goto quit; } } - GST_INFO_OBJECT (demux, "Internal buffering : %d s", + GST_INFO_OBJECT (demux, "Internal buffering : %" PRIu64 " s", gst_dash_demux_get_buffering_time (demux) / GST_SECOND); demux->client->update_failed_count = 0; } else { @@ -1580,7 +1581,7 @@ gst_dash_demux_get_next_fragment_set (GstDashDemux * demux) g_get_current_time (&now); diff = (GST_TIMEVAL_TO_TIME (now) - GST_TIMEVAL_TO_TIME (start)); demux->dnl_rate = (size_buffer * 8) / ((double) diff / GST_SECOND); - GST_INFO_OBJECT (demux, "Download rate = %d Kbits/s (%d Ko in %.2f s)", + GST_INFO_OBJECT (demux, "Download rate = %" PRIu64 " Kbits/s (%" PRIu64 " Ko in %.2f s)", demux->dnl_rate / 1000, size_buffer / 1024, ((double) diff / GST_SECOND)); return TRUE; }