mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
Fix compiler warning on OS/X about parameters not matching the debug format string.
Original commit message from CVS: 2008-10-10 Jan Schmidt <jan.schmidt@sun.com> * gst/flacparse/gstbaseparse.c (gst_base_parse_push_buffer), (gst_base_parse_update_upstream_durations): Fix compiler warning on OS/X about parameters not matching the debug format string.
This commit is contained in:
parent
54cac6e2f0
commit
703533e7ed
1 changed files with 2 additions and 2 deletions
|
@ -802,7 +802,7 @@ gst_base_parse_push_buffer (GstBaseParse * parse, GstBuffer * buffer)
|
|||
gst_util_uint64_scale (parse->priv->upstream_size, 8 * GST_SECOND,
|
||||
parse->priv->avg_bitrate);
|
||||
GST_DEBUG_OBJECT (parse, "Estimated duration: %" GST_TIME_FORMAT,
|
||||
parse->priv->estimated_duration);
|
||||
GST_TIME_ARGS (parse->priv->estimated_duration));
|
||||
} else if (!parse->priv->upstream_size && parse->priv->upstream_duration) {
|
||||
parse->priv->avg_bitrate =
|
||||
gst_util_uint64_scale (parse->priv->offset, 8 * GST_SECOND,
|
||||
|
@ -916,7 +916,7 @@ gst_base_parse_update_upstream_durations (GstBaseParse * parse)
|
|||
fmt == GST_FORMAT_TIME && duration != -1) {
|
||||
parse->priv->upstream_duration = duration;
|
||||
GST_DEBUG_OBJECT (parse, "Upstream duration: %" GST_TIME_FORMAT,
|
||||
parse->priv->upstream_duration);
|
||||
GST_TIME_ARGS (parse->priv->upstream_duration));
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (parse, "Failed to get upstream duration");
|
||||
parse->priv->upstream_duration = 0;
|
||||
|
|
Loading…
Reference in a new issue