pad->priv->output_offset = -1;
GST_DEBUG_OBJECT (pad,
"Buffer before segment or current position: %" G_GUINT64_FORMAT " < %"
- G_GUINT64_FORMAT, end_output_offset, aagg->priv->offset);
+ G_GINT64_FORMAT, end_output_offset, aagg->priv->offset);
return FALSE;
}
pad->priv->output_offset = -1;
GST_DEBUG_OBJECT (pad,
"Buffer before segment or current position: %" G_GUINT64_FORMAT
- " < %" G_GUINT64_FORMAT, end_output_offset, aagg->priv->offset);
+ " < %" G_GINT64_FORMAT, end_output_offset, aagg->priv->offset);
return FALSE;
}
}
GST_DEBUG_OBJECT (pad,
"Buffer resynced: Pad offset %" G_GUINT64_FORMAT
- ", current audio aggregator offset %" G_GUINT64_FORMAT,
+ ", current audio aggregator offset %" G_GINT64_FORMAT,
pad->priv->output_offset, aagg->priv->offset);
}
aagg->priv->offset =
gst_util_uint64_scale (agg->segment.position - agg->segment.start, rate,
GST_SECOND);
- GST_DEBUG_OBJECT (aagg, "Starting at offset %lu", aagg->priv->offset);
+ GST_DEBUG_OBJECT (aagg, "Starting at offset %" G_GINT64_FORMAT,
+ aagg->priv->offset);
}
blocksize = gst_util_uint64_scale (aagg->priv->output_buffer_duration,
outbuf = aagg->priv->current_buffer;
GST_LOG_OBJECT (agg,
- "Starting to mix %u samples for offset %" G_GUINT64_FORMAT
+ "Starting to mix %u samples for offset %" G_GINT64_FORMAT
" with timestamp %" GST_TIME_FORMAT, blocksize,
aagg->priv->offset, GST_TIME_ARGS (agg->segment.position));
if (pad->priv->output_offset >= next_offset) {
GST_DEBUG_OBJECT (pad,
"Pad is after current offset: %" G_GUINT64_FORMAT " >= %"
- G_GUINT64_FORMAT, pad->priv->output_offset, next_offset);
+ G_GINT64_FORMAT, pad->priv->output_offset, next_offset);
} else {
is_done = FALSE;
}
if (max_offset <= next_offset) {
GST_DEBUG_OBJECT (aagg,
"Last buffer is incomplete: %" G_GUINT64_FORMAT " <= %"
- G_GUINT64_FORMAT, max_offset, next_offset);
+ G_GINT64_FORMAT, max_offset, next_offset);
next_offset = max_offset;
next_timestamp =
agg->segment.start + gst_util_uint64_scale (next_offset, GST_SECOND,