playbin: Use the caps query instead of accept-caps to detect if a sink accepts caps
authorSebastian Dröge <sebastian@centricular.com>
Thu, 7 Jan 2016 13:24:25 +0000 (15:24 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 8 Jan 2016 14:32:32 +0000 (16:32 +0200)
commit844aa3e6a954e76b68f0f0e6e5d829047b2d9f68
tree3aba991ae78c53389bb32cd00f82c0c4825ea30f
parentc119715e252a0ad85878fa438a7e2c81706dd2d8
playbin: Use the caps query instead of accept-caps to detect if a sink accepts caps

accept-caps is only for one element, caps query is recursive. Fixes playback
with totem and other situations.

https://bugzilla.gnome.org/show_bug.cgi?id=760234
gst/playback/gstplaybin2.c