mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
dashdemux: fixing compiler warnings about print formats
This commit is contained in:
parent
5855511ba4
commit
34e1b59eca
2 changed files with 8 additions and 4 deletions
|
@ -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_query_parse_seeking (query, &fmt, NULL, &start, &end);
|
||||||
GST_DEBUG_OBJECT (dashdemux,
|
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) {
|
if (fmt == GST_FORMAT_TIME) {
|
||||||
GstClockTime duration;
|
GstClockTime duration;
|
||||||
|
|
||||||
|
@ -1643,7 +1644,8 @@ gst_dash_demux_select_representations (GstDashDemux * demux)
|
||||||
bitrate =
|
bitrate =
|
||||||
gst_download_rate_get_current_rate (&stream->dnl_rate) *
|
gst_download_rate_get_current_rate (&stream->dnl_rate) *
|
||||||
demux->bandwidth_usage;
|
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 */
|
/* get representation index with current max_bandwidth */
|
||||||
new_index =
|
new_index =
|
||||||
|
|
|
@ -2822,7 +2822,8 @@ gst_mpd_client_setup_representation (GstMpdClient * client,
|
||||||
guint j, timescale;
|
guint j, timescale;
|
||||||
|
|
||||||
S = (GstSNode *) list->data;
|
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;
|
duration = S->d * GST_SECOND;
|
||||||
timescale =
|
timescale =
|
||||||
stream->cur_segment_list->MultSegBaseType->SegBaseType->timescale;
|
stream->cur_segment_list->MultSegBaseType->SegBaseType->timescale;
|
||||||
|
@ -2895,7 +2896,8 @@ gst_mpd_client_setup_representation (GstMpdClient * client,
|
||||||
guint j, timescale;
|
guint j, timescale;
|
||||||
|
|
||||||
S = (GstSNode *) list->data;
|
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;
|
duration = S->d * GST_SECOND;
|
||||||
timescale =
|
timescale =
|
||||||
stream->cur_seg_template->MultSegBaseType->SegBaseType->timescale;
|
stream->cur_seg_template->MultSegBaseType->SegBaseType->timescale;
|
||||||
|
|
Loading…
Reference in a new issue