From: Sebastian Dröge Date: Thu, 5 May 2022 17:35:57 +0000 (+0300) Subject: mxfmux: Disable aggregator's default negotiation X-Git-Tag: 1.22.0~1670 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a679cc1f1b1c1af57886531d669086bf8471ec7;p=platform%2Fupstream%2Fgstreamer.git mxfmux: Disable aggregator's default negotiation mxfmux can't negotiate caps with upstream/downstream and always outputs specific caps based on the input streams. This will always happen before it produces the first buffers. By having the default aggregator negotiation enabled the same caps would be pushed twice in the beginning, and again every time a reconfigure event is received. Part-of: --- diff --git a/subprojects/gst-plugins-bad/gst/mxf/mxfmux.c b/subprojects/gst-plugins-bad/gst/mxf/mxfmux.c index 2eade47..c2c49fe 100644 --- a/subprojects/gst-plugins-bad/gst/mxf/mxfmux.c +++ b/subprojects/gst-plugins-bad/gst/mxf/mxfmux.c @@ -173,6 +173,7 @@ gst_mxf_mux_class_init (GstMXFMuxClass * klass) gstaggregator_class->sink_event = GST_DEBUG_FUNCPTR (gst_mxf_mux_sink_event); gstaggregator_class->stop = GST_DEBUG_FUNCPTR (gst_mxf_mux_stop); gstaggregator_class->aggregate = GST_DEBUG_FUNCPTR (gst_mxf_mux_aggregate); + gstaggregator_class->negotiate = NULL; gst_element_class_add_static_pad_template_with_gtype (gstelement_class, &src_templ, GST_TYPE_MXF_MUX_PAD);