mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
audiobuffersplit: Actually store number of samples to drop in gapless mode
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2783>
This commit is contained in:
parent
6d3af5c6cd
commit
aaae84d44b
1 changed files with 1 additions and 0 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue