mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 00:45:56 +00:00
audioaggregator: unref converted buffer after gst_buffer_replace
This commit is contained in:
parent
1bd3ee8be3
commit
d202097dd6
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),
|
||||
&aaggpad->info, new_info, aaggpad->priv->input_buffer);
|
||||
gst_buffer_replace (&aaggpad->priv->buffer, new_converted_buffer);
|
||||
gst_buffer_unref (new_converted_buffer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue