From 2034e5c153b95c25893342be5ffd9a51792e86a9 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Tue, 9 Dec 2014 22:46:42 -0300 Subject: [PATCH] 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. --- gst-libs/gst/video/gstvideodecoder.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gst-libs/gst/video/gstvideodecoder.c b/gst-libs/gst/video/gstvideodecoder.c index 289a4f8a2a..15e7a51c3c 100644 --- a/gst-libs/gst/video/gstvideodecoder.c +++ b/gst-libs/gst/video/gstvideodecoder.c @@ -555,7 +555,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);