Commit 94d86a58 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

audioaggregator: Also run the audio-specific caps fixation for audio...

audioaggregator: Also run the audio-specific caps fixation for audio aggregator subclasses that can't convert
parent 92310f7d
......@@ -774,14 +774,10 @@ gst_audio_aggregator_update_src_caps (GstAggregator * agg,
static GstCaps *
gst_audio_aggregator_fixate_src_caps (GstAggregator * agg, GstCaps * caps)
{
GstAudioAggregatorPad *first_configured_pad;
GstAudioAggregatorPad *first_configured_pad = NULL;
if (!GST_AUDIO_AGGREGATOR_PAD_GET_CLASS (agg->srcpad)->convert_buffer)
return
GST_AGGREGATOR_CLASS
(gst_audio_aggregator_parent_class)->fixate_src_caps (agg, caps);
first_configured_pad = gst_audio_aggregator_get_first_configured_pad (agg);
if (GST_AUDIO_AGGREGATOR_PAD_GET_CLASS (agg->srcpad)->convert_buffer)
first_configured_pad = gst_audio_aggregator_get_first_configured_pad (agg);
caps = gst_caps_make_writable (caps);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment