mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
audioaggregator: Also run the audio-specific caps fixation for audio aggregator subclasses that can't convert
This commit is contained in:
parent
320243050b
commit
0bf207aa53
1 changed files with 3 additions and 7 deletions
|
@ -741,13 +741,9 @@ gst_audio_aggregator_update_src_caps (GstAggregator * agg,
|
|||
static GstCaps *
|
||||
gst_audio_aggregator_fixate_src_caps (GstAggregator * agg, GstCaps * caps)
|
||||
{
|
||||
GstAudioAggregatorPad *first_configured_pad;
|
||||
|
||||
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);
|
||||
GstAudioAggregatorPad *first_configured_pad = NULL;
|
||||
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue