mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
baseparse: use_fixed_caps for src pad
After all, stream is as-is, and there is little molding to downstream's taste that can be done. If subclass can and wants to do so, it can still override as such.
This commit is contained in:
parent
bd45e64d31
commit
4f2790c9a1
1 changed files with 1 additions and 0 deletions
|
@ -398,6 +398,7 @@ gst_base_parse_init (GstBaseParse * parse, GstBaseParseClass * bclass)
|
|||
GST_DEBUG_FUNCPTR (gst_base_parse_get_querytypes));
|
||||
gst_pad_set_query_function (parse->srcpad,
|
||||
GST_DEBUG_FUNCPTR (gst_base_parse_query));
|
||||
gst_pad_use_fixed_caps (parse->srcpad);
|
||||
gst_element_add_pad (GST_ELEMENT (parse), parse->srcpad);
|
||||
GST_DEBUG_OBJECT (parse, "src created");
|
||||
|
||||
|
|
Loading…
Reference in a new issue