mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 02:58:24 +00:00
audiodecoder: do not use fixed caps on source pad
decoders can change the caps on their source pads, so they don't use fixed caps. Having fixed caps can cause renegotiation issues.
This commit is contained in:
parent
2034e5c153
commit
fce946a1a3
1 changed files with 0 additions and 1 deletions
|
@ -500,7 +500,6 @@ gst_audio_decoder_init (GstAudioDecoder * dec, GstAudioDecoderClass * klass)
|
|||
GST_DEBUG_FUNCPTR (gst_audio_decoder_src_event));
|
||||
gst_pad_set_query_function (dec->srcpad,
|
||||
GST_DEBUG_FUNCPTR (gst_audio_decoder_src_query));
|
||||
gst_pad_use_fixed_caps (dec->srcpad);
|
||||
gst_element_add_pad (GST_ELEMENT (dec), dec->srcpad);
|
||||
GST_DEBUG_OBJECT (dec, "srcpad created");
|
||||
|
||||
|
|
Loading…
Reference in a new issue