mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
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.
This commit is contained in:
parent
b9cbfcdeb4
commit
2034e5c153
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue