summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2014-12-09 22:47:31 -0300
committerSebastian Dröge <sebastian@centricular.com>2014-12-16 15:13:19 +0100
commit02f955b033bb361e60a8504f8dfcb69449f93754 (patch)
treebf6bf22196b061209d91d84e05c641cf5cee4b2d
parent9b3f3b7a98e4edc91478fae819ec89a3d9147df8 (diff)
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.
-rw-r--r--gst-libs/gst/audio/gstaudiodecoder.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst-libs/gst/audio/gstaudiodecoder.c b/gst-libs/gst/audio/gstaudiodecoder.c
index 08abf5a36..fca1abd0c 100644
--- a/gst-libs/gst/audio/gstaudiodecoder.c
+++ b/gst-libs/gst/audio/gstaudiodecoder.c
@@ -502,7 +502,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");