From: Sebastian Dröge Date: Thu, 5 May 2022 17:36:04 +0000 (+0300) Subject: mp4mux: Disable aggregator's default negotiation X-Git-Tag: 1.22.0~1669 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2c6f21fc1b664c20a8eab926162fe23583f7fc7;p=platform%2Fupstream%2Fgstreamer.git 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: --- 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);