decodebin: Block on caps event
authorEdward Hervey <edward.hervey@collabora.co.uk>
Wed, 18 Jul 2012 13:24:00 +0000 (15:24 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Wed, 18 Jul 2012 16:17:57 +0000 (18:17 +0200)
commitc5901cebcabc966dd65f70080feec79bb26b4645
tree70522d5e388b703099664457d79f77a17a9949dc
parent0423329f910d0f858a7948f9162e5ce0468ed68a
decodebin: Block on caps event

A caps event is also used to establish that a stream has prerolled.

Without this, we end up allowing negotiation queries to fail, ending
in decoders (and other elements) to not be configured right from the
start with the most optimal settings.
gst/playback/gstdecodebin2.c