decodebin2: Mark streams as complete on CAPS event but don't block
authorEdward Hervey <edward.hervey@collabora.co.uk>
Tue, 24 Jul 2012 08:45:58 +0000 (10:45 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Tue, 24 Jul 2012 08:53:19 +0000 (10:53 +0200)
commit2f37ba60a2838f072150b4443184ef0a3047a497
treebb88f096fe75335b1390d9b78343acc8b4e64b83
parent401648d689b658ca27da56e56c833891c2cdbbc9
decodebin2: Mark streams as complete on CAPS event but don't block

This allows the following use-cases to expose the group and pads
before an ALLOCATION query comes through:
* Single stream use-cases
* Multi stream use-cases where all streams sent the CAPS event before
  the first ALLOCATION query

Some cases will still make the initial ALLOCATION query fail though,
which isn't optimal, but not fatal (it will recover when pads are
exposed, a RECONFIGURE event is sent upstream and elements can
re-send an ALLOCATION query which will reach downstream elements).

https://bugzilla.gnome.org/show_bug.cgi?id=680262
gst/playback/gstdecodebin2.c