mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
audiomixer: Make sure to release the current buffer in reset()
If we didn't output the last one in aggregate because we were shutting down earlier we might otherwise leak it.
This commit is contained in:
parent
7c575af6df
commit
0e8604f4ee
1 changed files with 1 additions and 0 deletions
|
@ -709,6 +709,7 @@ gst_audiomixer_reset (GstAudioMixer * audiomixer)
|
|||
{
|
||||
audiomixer->offset = 0;
|
||||
gst_caps_replace (&audiomixer->current_caps, NULL);
|
||||
gst_buffer_replace (&audiomixer->current_buffer, NULL);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Reference in a new issue