From 9389ccf7e6bbe289359515f78bb1b7aac7e080d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 5 May 2022 20:35:57 +0300 Subject: [PATCH] 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: --- subprojects/gst-plugins-bad/gst/mxf/mxfmux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-bad/gst/mxf/mxfmux.c b/subprojects/gst-plugins-bad/gst/mxf/mxfmux.c index 2eade47619..c2c49fe9ef 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);