mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +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,14 +741,10 @@ gst_audio_aggregator_update_src_caps (GstAggregator * agg,
|
||||||
static GstCaps *
|
static GstCaps *
|
||||||
gst_audio_aggregator_fixate_src_caps (GstAggregator * agg, GstCaps * caps)
|
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)
|
if (GST_AUDIO_AGGREGATOR_PAD_GET_CLASS (agg->srcpad)->convert_buffer)
|
||||||
return
|
first_configured_pad = gst_audio_aggregator_get_first_configured_pad (agg);
|
||||||
GST_AGGREGATOR_CLASS
|
|
||||||
(gst_audio_aggregator_parent_class)->fixate_src_caps (agg, caps);
|
|
||||||
|
|
||||||
first_configured_pad = gst_audio_aggregator_get_first_configured_pad (agg);
|
|
||||||
|
|
||||||
caps = gst_caps_make_writable (caps);
|
caps = gst_caps_make_writable (caps);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue