mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
audioaggregator: unref converted buffer after gst_buffer_replace
This commit is contained in:
parent
32ca1701b7
commit
a59fbba141
1 changed files with 1 additions and 0 deletions
|
@ -839,6 +839,7 @@ gst_audio_aggregator_update_converters (GstAudioAggregator * aagg,
|
||||||
gst_audio_aggregator_convert_buffer (aagg, GST_PAD (aaggpad),
|
gst_audio_aggregator_convert_buffer (aagg, GST_PAD (aaggpad),
|
||||||
&aaggpad->info, new_info, aaggpad->priv->input_buffer);
|
&aaggpad->info, new_info, aaggpad->priv->input_buffer);
|
||||||
gst_buffer_replace (&aaggpad->priv->buffer, new_converted_buffer);
|
gst_buffer_replace (&aaggpad->priv->buffer, new_converted_buffer);
|
||||||
|
gst_buffer_unref (new_converted_buffer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue