gstreamer/gst
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
..
adder adder: send CAPS event downstream fixing not-negotiated errors 2012-08-05 00:41:10 +01:00
app gst: Update for GST_PLUGIN_DEFINE() API change 2012-04-05 15:11:05 +02:00
audioconvert audioconvert: prefer channels of base caps when fixating 2012-07-25 15:58:19 +02:00
audiorate Use new gst_element_class_set_static_metadata() 2012-04-10 00:45:16 +01:00
audioresample Fix bug where debug category was declared inside a function 2012-05-24 10:33:02 +02:00
audiotestsrc tag: Update for taglist/tag event API changes 2012-07-28 00:35:02 +02:00
encoding smartencoder: use gst_quark_from_static_string() 2012-06-23 14:55:51 +01:00
gdp update for new variable names 2012-07-27 15:24:43 +02:00
gio Use new gst_element_class_set_static_metadata() 2012-04-10 00:45:16 +01:00
playback streamsynchronizer: Unblock streams on FLUSH_START events 2012-07-27 12:59:20 +02:00
subparse tag: Update for taglist/tag event API changes 2012-07-28 00:35:02 +02:00
tcp multifdsink: remove deprecated and unused "mode" property 2012-07-06 12:43:26 +01:00
typefind typefind: probe for DVD ISO files, to avoid matching H.264 2012-06-11 11:11:01 +01:00
videoconvert videoconvert: small cleanups 2012-07-27 12:19:04 +02:00
videorate Use new gst_element_class_set_static_metadata() 2012-04-10 00:45:16 +01:00
videoscale videoscale: fix 4-tap scaling for 64-bpp formats 2012-08-04 22:05:21 +01:00
videotestsrc videotestsrc: prefix orc functions with video_test_src_orc 2012-07-24 09:09:22 +02:00
volume volume: prefix orc functions with volume_orc_ 2012-07-23 17:30:50 +02:00
Makefile.am build: build plugin and example directories in parallel if make -jN is used 2010-03-29 00:26:59 +01:00