summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2014-12-09 22:46:42 -0300
committerSebastian Dröge <sebastian@centricular.com>2014-12-16 15:13:14 +0100
commit9b3f3b7a98e4edc91478fae819ec89a3d9147df8 (patch)
tree391a4a3741ceca1dd89061e6328d825183a5e9b2
parent0a6001dc6ae7f8346999e028a6ba290c35c5fc7f (diff)
videodecoder: 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/video/gstvideodecoder.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst-libs/gst/video/gstvideodecoder.c b/gst-libs/gst/video/gstvideodecoder.c
index c29ddc750..03640f54f 100644
--- a/gst-libs/gst/video/gstvideodecoder.c
+++ b/gst-libs/gst/video/gstvideodecoder.c
@@ -556,7 +556,6 @@ gst_video_decoder_init (GstVideoDecoder * decoder, GstVideoDecoderClass * klass)
GST_DEBUG_FUNCPTR (gst_video_decoder_src_event));
gst_pad_set_query_function (pad,
GST_DEBUG_FUNCPTR (gst_video_decoder_src_query));
- gst_pad_use_fixed_caps (pad);
gst_element_add_pad (GST_ELEMENT (decoder), decoder->srcpad);
gst_segment_init (&decoder->input_segment, GST_FORMAT_TIME);