From 4f2790c9a192e2c6d3d62cc99b4e74215bcbff67 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Wed, 28 Oct 2009 12:00:08 +0100 Subject: [PATCH] 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. --- gst/aacparse/gstbaseparse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/aacparse/gstbaseparse.c b/gst/aacparse/gstbaseparse.c index 1e316a0844..010723a1bc 100644 --- a/gst/aacparse/gstbaseparse.c +++ b/gst/aacparse/gstbaseparse.c @@ -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");