gstfastspectrum: Use G_GUINT64_FORMAT

This commit is contained in:
Jonas Kvinge 2024-09-23 16:00:27 +02:00
parent 936521981b
commit 4cd490d871
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@ static GstFlowReturn gst_strawberry_fastspectrum_transform_ip(GstBaseTransform *
// Run input_data for a chunk of data // Run input_data for a chunk of data
guint64 fft_todo = nfft - (fastspectrum->num_frames % nfft); guint64 fft_todo = nfft - (fastspectrum->num_frames % nfft);
guint64 msg_todo = fastspectrum->frames_todo - fastspectrum->num_frames; guint64 msg_todo = fastspectrum->frames_todo - fastspectrum->num_frames;
GST_LOG_OBJECT(fastspectrum, "message frames todo: %lu, fft frames todo: %lu, input frames %" G_GSIZE_FORMAT, msg_todo, fft_todo, (size / bpf)); GST_LOG_OBJECT(fastspectrum, "message frames todo: %" G_GUINT64_FORMAT ", fft frames todo: %" G_GUINT64_FORMAT ", input frames %" G_GSIZE_FORMAT, msg_todo, fft_todo, static_cast<gsize>(size / bpf));
guint64 block_size = msg_todo; guint64 block_size = msg_todo;
if (block_size > (size / bpf)) { if (block_size > (size / bpf)) {
block_size = (size / bpf); block_size = (size / bpf);