dashdemux: fixing compiler warnings about print formats

This commit is contained in:
Thiago Santos 2013-04-23 12:08:07 -03:00
parent 5855511ba4
commit 34e1b59eca
2 changed files with 8 additions and 4 deletions

View file

@ -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 =

View file

@ -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;