From d2c6f21fc1b664c20a8eab926162fe23583f7fc7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 5 May 2022 20:36:04 +0300 Subject: [PATCH] mp4mux: Disable aggregator's default negotiation mp4mux 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-good/gst/isomp4/gstqtmux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-good/gst/isomp4/gstqtmux.c b/subprojects/gst-plugins-good/gst/isomp4/gstqtmux.c index 9e9eab5..df95476 100644 --- a/subprojects/gst-plugins-good/gst/isomp4/gstqtmux.c +++ b/subprojects/gst-plugins-good/gst/isomp4/gstqtmux.c @@ -631,6 +631,7 @@ gst_qt_mux_class_init (GstQTMuxClass * klass) gstagg_class->start = gst_qt_mux_start; gstagg_class->stop = gst_qt_mux_stop; gstagg_class->create_new_pad = gst_qt_mux_create_new_pad; + gstagg_class->negotiate = NULL; gst_type_mark_as_plugin_api (GST_TYPE_QT_MUX_PAD, 0); gst_type_mark_as_plugin_api (GST_TYPE_QT_MUX_DTS_METHOD, 0); -- 2.7.4