gstreamer/gst/adder
Tim-Philipp Müller 24478261a2 adder: send CAPS event downstream fixing not-negotiated errors
Make sure to send a CAPS event downstream when we get our
first input caps. This fixes not-negotiated errors and
adder use with downstream elements other than fakesink.

Even gst-launch-1.0 audiotestsrc ! adder ! pulsesink works now.

Also, flag the other sink pads as FIXED_CAPS when we receive
the first CAPS event on one of the sink pads (in addition to
setting those caps on the the sink pads), so that a caps query
will just return the fixed caps from now on.

There's still a race between other upstreams checking if
caps are accepted and sending a first buffer with possibly
different caps than the first caps we receive on some other
pad, but such is life.

Also need to take into account optional fields better/properly.

https://bugzilla.gnome.org/show_bug.cgi?id=679545
2012-08-05 00:41:10 +01:00
..
.gitignore Initial revision 2001-12-22 22:43:48 +00:00
adder.vcproj more working plugins 2004-07-27 21:41:30 +00:00
gstadder.c adder: send CAPS event downstream fixing not-negotiated errors 2012-08-05 00:41:10 +01:00
gstadder.h adder: send CAPS event downstream fixing not-negotiated errors 2012-08-05 00:41:10 +01:00
gstadderorc-dist.c adder: prefix orc functions with adder_orc_ 2012-07-23 17:27:46 +02:00
gstadderorc-dist.h adder: prefix orc functions with adder_orc_ 2012-07-23 17:27:46 +02:00
gstadderorc.orc adder: prefix orc functions with adder_orc_ 2012-07-23 17:27:46 +02:00
Makefile.am gst: Update versioning 2012-04-04 14:55:15 +02:00