playbin2: Check if an element accepts requisite caps before selecting
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 10 Mar 2011 13:34:51 +0000 (19:04 +0530)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 23 Mar 2011 13:42:05 +0000 (14:42 +0100)
commitb0ef98001ffafe17b1e2102d78baf59f24c6d644
tree142225501407e4be2656847542a7bd0bde98c35e
parentb76efc7f5dcefb43b1ee737fdb5a4511826122c7
playbin2: Check if an element accepts requisite caps before selecting

In addition to ensuring that an element we want to select in
autoplug-select can enter the READY state, we also now check if it can
accept the caps we wish to plug it for. This is handy for sinks that
need to perform a probe to figure out whether they can actually handle a
given format.
gst/playback/gstplaybin2.c