mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +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
c3e42004d1
commit
9cc33340d7
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