mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +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
8465c0915e
commit
eefea80dae
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