summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Bjäreholt <johanbj@axis.com>2018-08-28 09:11:32 +0200
committerSebastian Dröge <sebastian@centricular.com>2018-08-28 11:12:45 +0300
commit962ca015966967816b97befaf7518b63e6e9edc2 (patch)
tree973e641e5487b44c2e0ca84de75a924f382fabd4
parent62a194c78189be629b868944006ba14f017f46f5 (diff)
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
-rw-r--r--gst/audiobuffersplit/gstaudiobuffersplit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/audiobuffersplit/gstaudiobuffersplit.c b/gst/audiobuffersplit/gstaudiobuffersplit.c
index 418400c12..c6a730ca7 100644
--- a/gst/audiobuffersplit/gstaudiobuffersplit.c
+++ b/gst/audiobuffersplit/gstaudiobuffersplit.c
@@ -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);