From 34e1b59eca6eb31643afb07a9fb47da6ba54bb7c Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Tue, 23 Apr 2013 12:08:07 -0300 Subject: [PATCH] dashdemux: fixing compiler warnings about print formats --- ext/dash/gstdashdemux.c | 6 ++++-- ext/dash/gstmpdparser.c | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index f20ce10..ad80a573 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -864,7 +864,8 @@ gst_dash_demux_src_query (GstPad * pad, GstObject * parent, GstQuery * query) gst_query_parse_seeking (query, &fmt, NULL, &start, &end); GST_DEBUG_OBJECT (dashdemux, - "Received GST_QUERY_SEEKING with format %d - %i %i", fmt, start, end); + "Received GST_QUERY_SEEKING with format %d - %" G_GINT64_FORMAT + " %" G_GINT64_FORMAT, fmt, start, end); if (fmt == GST_FORMAT_TIME) { GstClockTime duration; @@ -1643,7 +1644,8 @@ gst_dash_demux_select_representations (GstDashDemux * demux) bitrate = gst_download_rate_get_current_rate (&stream->dnl_rate) * demux->bandwidth_usage; - GST_DEBUG_OBJECT (demux, "Trying to change to bitrate: %llu", bitrate); + GST_DEBUG_OBJECT (demux, "Trying to change to bitrate: %" G_GUINT64_FORMAT, + bitrate); /* get representation index with current max_bandwidth */ new_index = diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c index 2fab853..7473811 100644 --- a/ext/dash/gstmpdparser.c +++ b/ext/dash/gstmpdparser.c @@ -2822,7 +2822,8 @@ gst_mpd_client_setup_representation (GstMpdClient * client, guint j, timescale; S = (GstSNode *) list->data; - GST_LOG ("Processing S node: d=%llu r=%d t=%llu", S->d, S->r, S->t); + GST_LOG ("Processing S node: d=%" G_GUINT64_FORMAT " r=%d t=%" + G_GUINT64_FORMAT, S->d, S->r, S->t); duration = S->d * GST_SECOND; timescale = stream->cur_segment_list->MultSegBaseType->SegBaseType->timescale; @@ -2895,7 +2896,8 @@ gst_mpd_client_setup_representation (GstMpdClient * client, guint j, timescale; S = (GstSNode *) list->data; - GST_LOG ("Processing S node: d=%llu r=%u t=%llu", S->d, S->r, S->t); + GST_LOG ("Processing S node: d=%" G_GUINT64_FORMAT " r=%u t=%" + G_GUINT64_FORMAT, S->d, S->r, S->t); duration = S->d * GST_SECOND; timescale = stream->cur_seg_template->MultSegBaseType->SegBaseType->timescale; -- 2.7.4