adder: document caps negotiation raciness and workaround
authorTim-Philipp Müller <tim@centricular.com>
Fri, 14 Jul 2017 12:40:07 +0000 (13:40 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 14 Jul 2017 12:40:07 +0000 (13:40 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=777915

gst/adder/gstadder.c

index aa8848c..4eeb8ea 100644 (file)
  * audio mixing element: It will sync input streams correctly and also handle
  * live inputs properly.
  *
+ * Caps negotiation is inherently racy with the adder element. You can set
+ * the "caps" property property to force adder to operate in a specific audio
+ * format, sample rate and channel count. In this case you may also need
+ * audioconvert and/or audioresample elements for each input stream before the
+ * adder element to make sure the input branch can produce the forced format.
+ *
  * ## Example launch line
  * |[
  * gst-launch-1.0 audiotestsrc freq=100 ! adder name=mix ! audioconvert ! autoaudiosink audiotestsrc freq=500 ! mix.