playbin2: Fix handling of non-raw custom sinks
authorAkihiro Tsukada <tskd2@yahoo.co.jp>
Tue, 15 Feb 2011 16:24:28 +0000 (17:24 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 15 Feb 2011 16:24:28 +0000 (17:24 +0100)
commit555e33800867d68bfed0e27546448e738acabf35
tree260d4dc86e6f5b5e3f5a31bd9cb75ab685e321d5
parentfbf972979561676507d6083ef16c986df1394cd7
playbin2: Fix handling of non-raw custom sinks

When autoplugging elements in decodebin2, check if
the caps are supported by one of the sink before
continuing autoplugging.

Fixes bug #642174.
gst/playback/gstplaybin2.c