mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
audiobuffersplit: Fix format string warning
We have a GST_DEBUG_OBJECT, which prints a guint64 with %lu which gave a compiler warning. Used G_GUINT64_FORMAT instead. https://bugzilla.gnome.org/show_bug.cgi?id=797036
This commit is contained in:
parent
62a194c781
commit
962ca01596
1 changed files with 2 additions and 2 deletions
|
@ -573,8 +573,8 @@ gst_audio_buffer_split_clip_buffer_start_for_gapless (GstAudioBufferSplit *
|
|||
|
||||
nsamples = gst_buffer_get_size (buffer) / bpf;
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Have to drop %lu samples, got %u samples",
|
||||
self->drop_samples, nsamples);
|
||||
GST_DEBUG_OBJECT (self, "Have to drop %" G_GUINT64_FORMAT
|
||||
" samples, got %u samples", self->drop_samples, nsamples);
|
||||
|
||||
if (nsamples <= self->drop_samples) {
|
||||
gst_buffer_unref (buffer);
|
||||
|
|
Loading…
Reference in a new issue