From 0aad12fbce39931a796794878a87d56a4c993e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 21 Jul 2022 16:11:03 +0300 Subject: [PATCH] audiobuffersplit: Actually store number of samples to drop in gapless mode Part-of: --- .../gst-plugins-bad/gst/audiobuffersplit/gstaudiobuffersplit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-bad/gst/audiobuffersplit/gstaudiobuffersplit.c b/subprojects/gst-plugins-bad/gst/audiobuffersplit/gstaudiobuffersplit.c index 32c8a2799c..b646602b63 100644 --- a/subprojects/gst-plugins-bad/gst/audiobuffersplit/gstaudiobuffersplit.c +++ b/subprojects/gst-plugins-bad/gst/audiobuffersplit/gstaudiobuffersplit.c @@ -563,6 +563,7 @@ gst_audio_buffer_split_handle_discont (GstAudioBufferSplit * self, "Dropping %" G_GUINT64_FORMAT " samples (%" GST_TIME_FORMAT ")", drop_samples, GST_TIME_ARGS (gst_util_uint64_scale (drop_samples, GST_SECOND, rate))); + self->drop_samples = drop_samples; discont = FALSE; } else if (new_offset > self->current_offset + avail_samples) { guint64 silence_samples =